From 8a2ae936c954bca7662a421cc0b2489296cb2c92 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 26 Mar 2016 17:29:44 +0000 Subject: Remove Guava usage from DeepReflectionMatcher --- src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java') diff --git a/src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java b/src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java index 5f26b42..35175d6 100644 --- a/src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java +++ b/src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java @@ -1,10 +1,10 @@ package org.zwobble.mammoth.tests; -import com.google.common.collect.Sets; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.hamcrest.Matchers; import org.hamcrest.TypeSafeDiagnosingMatcher; +import org.zwobble.mammoth.internal.util.MammothSets; import java.lang.reflect.Field; import java.lang.reflect.Modifier; @@ -143,7 +143,7 @@ public class DeepReflectionMatcher extends TypeSafeDiagnosingMatcher { } private static boolean handleExtraElements(String path, Map expected, Map actual, Description mismatchDescription, String prefix) { - Sets.SetView extraElements = Sets.difference(actual.keySet(), expected.keySet()); + Set extraElements = MammothSets.difference(actual.keySet(), expected.keySet()); if (!extraElements.isEmpty()) { appendPath(mismatchDescription, path); mismatchDescription.appendText(prefix + -- cgit v1.2.3