diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-03-26 17:57:45 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-03-26 17:57:45 +0000 |
| commit | 581aec7d05f06456a384aa9adef7d781a666bf91 (patch) | |
| tree | 58bdd3c3de41a3b8c4886b23fc368be47d4486e2 /src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java | |
| parent | 3f978b230ce8f5713be07b5dec2f0ccebacbda71 (diff) | |
Remove Mammoth prefix from util classes
Diffstat (limited to 'src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java')
| -rw-r--r-- | src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java b/src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java index 35175d6..94bd05a 100644 --- a/src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java +++ b/src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java @@ -4,7 +4,7 @@ import org.hamcrest.Description; import org.hamcrest.Matcher; import org.hamcrest.Matchers; import org.hamcrest.TypeSafeDiagnosingMatcher; -import org.zwobble.mammoth.internal.util.MammothSets; +import org.zwobble.mammoth.internal.util.Sets; import java.lang.reflect.Field; import java.lang.reflect.Modifier; @@ -14,10 +14,10 @@ import java.util.Optional; import java.util.Set; import static java.util.Arrays.asList; -import static org.zwobble.mammoth.internal.util.MammothIterables.any; -import static org.zwobble.mammoth.internal.util.MammothIterables.lazyMap; -import static org.zwobble.mammoth.internal.util.MammothLists.eagerFilter; -import static org.zwobble.mammoth.internal.util.MammothLists.skip; +import static org.zwobble.mammoth.internal.util.Iterables.any; +import static org.zwobble.mammoth.internal.util.Iterables.lazyMap; +import static org.zwobble.mammoth.internal.util.Lists.eagerFilter; +import static org.zwobble.mammoth.internal.util.Lists.skip; public class DeepReflectionMatcher<T> extends TypeSafeDiagnosingMatcher<T> { public static <T> Matcher<T> deepEquals(T value) { @@ -143,7 +143,7 @@ public class DeepReflectionMatcher<T> extends TypeSafeDiagnosingMatcher<T> { } private static boolean handleExtraElements(String path, Map<?, ?> expected, Map<?, ?> actual, Description mismatchDescription, String prefix) { - Set<?> extraElements = MammothSets.difference(actual.keySet(), expected.keySet()); + Set<?> extraElements = Sets.difference(actual.keySet(), expected.keySet()); if (!extraElements.isEmpty()) { appendPath(mismatchDescription, path); mismatchDescription.appendText(prefix + |
