Package org.mockserver.test
Class Assert
- java.lang.Object
-
- org.mockserver.test.Assert
-
public class Assert extends Object
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description Assert()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assertContains(String string, String substring)
Asserts that string contains specified substring.static void
assertDoesNotContain(String string, String substring)
Asserts that string contains specified substring.static <T> void
assertSameEntries(Collection<T> collectionOne, Collection<T> collectionTwo)
Asserts that the two lists contain the same entries regardless of order
-
-
-
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
-
-