Searched refs:testMethodFor (Results 1 – 1 of 1) sorted by relevance
33 assertTrue(assignableFrom.apply(testMethodFor(Animal.class))); in testSelfIsAssignable()37 assertTrue(assignableFrom.apply(testMethodFor(Mammal.class))); in testSubclassesAreAssignable()38 assertTrue(assignableFrom.apply(testMethodFor(Human.class))); in testSubclassesAreAssignable()42 assertFalse(assignableFrom.apply(testMethodFor(Pencil.class))); in testNotAssignable()48 assertTrue(assignableFrom.apply(testMethodFor(Pencil.class))); in testImplementorsAreAssignable()49 assertTrue(assignableFrom.apply(testMethodFor(Pen.class))); in testImplementorsAreAssignable()52 private TestMethod testMethodFor(Class<? extends TestCase> aClass) in testMethodFor() method in AssignableFromTest