assertEquals("Incorrect number of results found.", 1, results.size());
assertEquals(results.get(ReferenceTask.class), ThreadSafety.THREAD);
/* Test the thread safety tester with provided safety values. */
testAddTasksTestResultsMap();
instance.addTask(new ReferenceTask(), null); // Force this to test.
instance.testSafety();
results = instance.getThreadSafetyResults();
/* Ensure the results are there and the correct size first. */
assertNotNull("Returned safety results were null.", results);
assertEquals("Incorrect number of results found.", 3, results.size());