Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Code Block | ||||
---|---|---|---|---|
| ||||
import static org.onlab.junit.UtilityClassChecker.assertThatClassIsUtility; /** * Check that the Criteria class is a valid utility class. */ @Test public void testCriteriaUtility() { assertThatClassIsUtility(Criteria.class); } |
Construction and Retrieval Tests
A basic test for each one of your constructors and a check for the values returned by data access methods should always be included
...