Searched refs:PrivateClass (Results 1 – 4 of 4) sorted by relevance
52 private static class PrivateClass { class in OptionalMethodTest68 OptionalMethod<PrivateClass> privateClass = new OptionalMethod<PrivateClass>( in isSupported()70 assertFalse(privateClass.isSupported(new PrivateClass())); in isSupported()83 OptionalMethod<PrivateClass> privateClass = new OptionalMethod<PrivateClass>( in invokeOptional()85 assertEquals(null, privateClass.invokeOptional(new PrivateClass(), "testArg")); in invokeOptional()
41 private static class PrivateClass {} class in ProviderTest56 PrivateClass.class); in createInstance_ThrowsErrorWhenClassIsPrivate()
110 private static class PrivateClass implements SingleMethodInterface { class in MockNonPublic119 mockSingleMethod(PrivateClass.class); in mockPrivateClass()124 spySingleMethod(PrivateClass.class); in spyPrivateClass()129 spyWrappedSingleMethod(new PrivateClass()); in spyWrappedPrivateClass()
221 class PrivateClass {} in create_throwsErrorOnMisconfiguration() class225 ServiceProvidersTestAbstractProvider.class, PrivateClass.class); in create_throwsErrorOnMisconfiguration()