Searched refs:ReturnsObject (Results 1 – 2 of 2) sorted by relevance
17 public interface ReturnsObject { interface in CovariantOverrideTest22 public interface ReturnsString extends ReturnsObject {30 ReturnsObject mock = mock(ReturnsObject.class); in returnFoo1()44 ReturnsObject mock = mock(ReturnsString.class); in returnFoo3()53 ReturnsObject mock2 = mock; // Switch to base type to call covariant override in returnFoo4()
677 public static class ReturnsObject { class in ProxyBuilderTest683 public static class ReturnsString extends ReturnsObject {694 assertSame(expected, proxyFor(ReturnsObject.class).build().getValue()); in testCovariantReturnTypes_NormalBehaviour()