public class Assert extends Object
| Constructor and Description | 
|---|
| Assert() | 
| Modifier and Type | Method and 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 | 
public static void assertContains(String string, String substring)
public static void assertDoesNotContain(String string, String substring)
public static <T> void assertSameEntries(Collection<T> collectionOne, Collection<T> collectionTwo)
Copyright © 2020. All rights reserved.