Sheetal Jain
12/21/2023, 11:34 AMcom.github.tomakehurst.wiremock.client.VerificationException
On running the test cases of this file locally, all passed.
and this is the code of the test case:
@Test
public void test_case() {
// Given
long userId = 401L;
wireMockRule.resetAll();
<some_code>
setUpFirebaseStub(200);
// When
FirebaseResponse response = firebaseService.registerFirebaseS2sEvent();
<assertions>
// Verify
assertEquals(FirebaseResponse.API_SUCCESS, response);
verifyFirebaseStubCalled(200);
verifyUserServiceStubCalled(0, 200, userId); - getting error for this
}
can anyone help me with this?Sheetal Jain
12/22/2023, 3:56 AM