diff --git a/src/test/java/org/junit/tests/experimental/theories/runner/WithParameterSupplier.java b/src/test/java/org/junit/tests/experimental/theories/runner/WithParameterSupplier.java index 1802390a87d4..45dd11ef2e52 100644 --- a/src/test/java/org/junit/tests/experimental/theories/runner/WithParameterSupplier.java +++ b/src/test/java/org/junit/tests/experimental/theories/runner/WithParameterSupplier.java @@ -159,7 +159,7 @@ public void theory(@ParametersSuppliedBy(SupplierWithTestClassConstructor.class) @Test public void shouldAcceptSuppliersWithTestClassConstructor() throws Exception { - new Theories(TestClassUsingSupplierWithTestClassConstructor.class); + Theories unused = new Theories(TestClassUsingSupplierWithTestClassConstructor.class); } }