diff options
Diffstat (limited to 'guava-tests/test/com/google/common/collect/AbstractCollectionTest.java')
-rw-r--r-- | guava-tests/test/com/google/common/collect/AbstractCollectionTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guava-tests/test/com/google/common/collect/AbstractCollectionTest.java b/guava-tests/test/com/google/common/collect/AbstractCollectionTest.java index f3bc17c..13c3df2 100644 --- a/guava-tests/test/com/google/common/collect/AbstractCollectionTest.java +++ b/guava-tests/test/com/google/common/collect/AbstractCollectionTest.java @@ -17,7 +17,7 @@ package com.google.common.collect; import static java.util.Arrays.asList; -import static org.truth0.Truth.ASSERT; +import static org.junit.contrib.truth.Truth.ASSERT; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; @@ -203,7 +203,7 @@ public abstract class AbstractCollectionTest extends TestCase { } @GwtIncompatible("NullPointerTester") - public void testNullPointerExceptions() { + public void testNullPointerExceptions() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(c); } @@ -221,6 +221,6 @@ public abstract class AbstractCollectionTest extends TestCase { } protected void assertContents(String... expected) { - ASSERT.that(c).has().allFrom(asList(expected)); + ASSERT.that(c).hasContentsAnyOrder(expected); } } |