Searched refs:mockitoSession (Results 1 – 13 of 13) sorted by relevance
25 import static com.android.dx.mockito.inline.extended.ExtendedMockito.mockitoSession;96 MockitoSession session = mockitoSession().spyStatic(Settings.Global.class).startMocking(); in spyStatic()122 MockitoSession session = mockitoSession().spyStatic(NoDefaultConstructorClass.class) in spyStaticOnObjectWithNoDefaultConstructor()140 MockitoSession session = mockitoSession().mockStatic(Settings.Global.class).startMocking(); in mockStatic()160 MockitoSession session = mockitoSession().mockStatic(SubClass.class).startMocking(); in mockOverriddenStaticMethod()191 MockitoSession session = mockitoSession().mockStatic(SuperClass.class).startMocking(); in mockSuperMethod()227 MockitoSession session = mockitoSession().mockStatic(SuperClass.class).startMocking(); in resetMock()243 MockitoSession session = mockitoSession().spyStatic(SuperClass.class).startMocking(); in resetSpy()262 MockitoSession session = mockitoSession().mockStatic(SuperClass.class).startMocking(); in staticMockingIsSeparateFromNonStaticMocking()292 MockitoSession session = mockitoSession().mockStatic(SuperClass.class) in mockWithTwoClasses()[all …]
29 import static com.android.dx.mockito.inline.extended.ExtendedMockito.mockitoSession;44 MockitoSession session = mockitoSession().mockStatic(EchoClass.class).startMocking(); in verifyMockedStringMethod()60 MockitoSession session = mockitoSession().mockStatic(ConsumeClass.class).startMocking(); in verifyMockedVoidMethod()75 MockitoSession session = mockitoSession().mockStatic(EchoClass.class) in verifyWithTwoMocks()96 MockitoSession session = mockitoSession().spyStatic(EchoClass.class).startMocking(); in verifySpiedStringMethod()112 MockitoSession session = mockitoSession().mockStatic(EchoClass.class).mockStatic in verifyInOrder()144 MockitoSession session = mockitoSession().mockStatic(EchoClass.class).startMocking(); in verifyBadOrder()159 MockitoSession session = mockitoSession().mockStatic(EchoClass.class).startMocking(); in verifyBadMatcher()180 MockitoSession session = mockitoSession().mockStatic(EchoClass.class).startMocking(); in zeroInvocationsThrowsIfThereWasAnInvocation()192 MockitoSession session = mockitoSession().spyStatic(EchoClass.class).startMocking(); in verifyWithIgnoreStubs()
29 import static com.android.dx.mockito.inline.extended.ExtendedMockito.mockitoSession;38 MockitoSession session = mockitoSession().spyStatic(Settings.Global.class).startMocking(); in strictUnnecessaryStubbing()55 MockitoSession session = mockitoSession().strictness(Strictness.LENIENT) in lenientUnnecessaryStubbing()
24 import static com.android.dx.mockito.inline.extended.ExtendedMockito.mockitoSession;47 MockitoSession session = mockitoSession().mockStatic(SuperClass.class).startMocking(); in stressFinalStaticMethod()69 MockitoSession session = mockitoSession().mockStatic(SuperClass.class).startMocking(); in stressStaticMethod()
28 import static com.android.dx.mockito.inline.extended.ExtendedMockito.mockitoSession;59 StaticMockitoSession session = mockitoSession().initMocks(this).startMocking(); in useMockitoSession()
105 MockitoSession mockito = Mockito.mockitoSession().startMocking();120 … MockitoSession mockito = Mockito.mockitoSession().strictness(Strictness.LENIENT).startMocking();134 MockitoSession mockito = Mockito.mockitoSession().initMocks(this).startMocking();148 MockitoSession mockito = Mockito.mockitoSession().initMocks(this).startMocking();163 MockitoSession mockito = Mockito.mockitoSession().initMocks(this).startMocking();180 MockitoSession mockito = Mockito.mockitoSession().initMocks(this).startMocking();194 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…213 MockitoSession mockito = Mockito.mockitoSession().initMocks(this).startMocking();
83 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…97 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…111 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…151 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
27 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
330 public static StaticMockitoSessionBuilder mockitoSession() { in mockitoSession() method in ExtendedMockito331 return new StaticMockitoSessionBuilder(Mockito.mockitoSession()); in mockitoSession()
37 session = Mockito.mockitoSession() in apply()
41 …mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STUBS).startMockin… in before()
38 …mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STUBS).startMockin… in before()
3003 public static MockitoSessionBuilder mockitoSession() { in mockitoSession() method in Mockito