Class Assert

java.lang.Object
org.mockserver.test.Assert

public class Assert extends Object
Author:
jamesdbloom
  • Constructor Details

    • Assert

      public Assert()
  • Method Details

    • 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