SafetyTester tester = new SafetyTester();
assertEquals("Failed thread safe class.", ThreadSafety.THREAD,
tester.testSafety(new ReferenceTask()));
assertEquals("Failed VM safe class.", ThreadSafety.VM,
tester.testSafety(new ReferenceVMTask()));
assertEquals("Failed unsafe test class.", ThreadSafety.SEQUENTIAL,
tester.testSafety(new ReferenceUnsafeTask()));
assertEquals("Failed forced safety test class", ThreadSafety.THREAD,
tester.testSafety(new ForcedSafe()));
assertNotEquals("Failed unsafe complex type checks.",