public class MockingUtilities extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MockingUtilities.TypedArgumentMatcher<T>
Prettier version of
ArgumentMatcher . |
Constructor and Description |
---|
MockingUtilities() |
Modifier and Type | Method and Description |
---|---|
static String |
containsRegex(String regex)
Like
Matchers.matches(java.lang.String) , but uses find rather than
matches, so supports multi-line strings. |
static <T extends Collection<?>> |
equalContents(T t) |
static <T> Class<T> |
subclass(Class<T> superClass) |
public static <T extends Collection<?>> T equalContents(T t)
Copyright © 2000-2014. All Rights Reserved.