24 ClientInterface client = Tester.newClient(host);
26 RegisterSiteResponse site = RegisterSiteTest.registerSite(client, opHost, redirectUrl);
27 final RpGetRptResponse rptResponse = RpGetRptTest.requestRpt(client, site, rsProtect);
29 IntrospectRptParams params =
new IntrospectRptParams();
30 params.setOxdId(site.getOxdId());
31 params.setRpt(rptResponse.getRpt());
33 final CorrectRptIntrospectionResponse response = client.introspectRpt(params).dataAsResponse(CorrectRptIntrospectionResponse.class);
35 assertNotNull(response);
36 assertTrue(response.getActive());
37 assertTrue(response.getExpiresAt() != null);
38 assertTrue(response.getIssuedAt() != null);