Class Assert


  • public class Assert
    extends Object
    Author:
    jamesdbloom
    • Constructor Detail

      • Assert

        public Assert()
    • Method Detail

      • assertContains

        public static void assertContains​(String string,
                                          String substring)
        Asserts that string contains specified substring.
      • assertDoesNotContain

        public static void assertDoesNotContain​(String string,
                                                String substring)
        Asserts that string contains specified substring.
      • assertSameEntries

        public static <T> void assertSameEntries​(Collection<T> collectionOne,
                                                 Collection<T> collectionTwo)
        Asserts that the two lists contain the same entries regardless of order