use of com.forgerock.openbanking.aspsp.rs.simulator.event.notification.SignedJwtEventBuilder in project openbanking-aspsp by OpenBankingToolkit.
the class SignedJwtEventBuilderTest method setUp.
@Before
public void setUp() throws Exception {
// Mock signing service
claimsCaptor = ArgumentCaptor.forClass(JWTClaimsSet.class);
CryptoApiClient cryptoApiClient = mock(CryptoApiClient.class);
given(cryptoApiClient.signClaims(eq(ISSUER_ID_VALUE), claimsCaptor.capture(), anyBoolean())).willReturn(FAKE_SIGNED_JWT);
signedJwtEventBuilder = new SignedJwtEventBuilder(ISSUER_ID_VALUE, cryptoApiClient, new ObjectMapper());
}
Aggregations