org.mockserver.test
Class Assert

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

public class Assert
extends Object

Author:
jamesdbloom

Constructor Summary
Assert()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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



Copyright © 2016. All rights reserved.