Mono<String> policyIds = Mono.just(Arrays.asList(POLICY_1_ID, POLICY_2_ID).toString());
when(asyncRestClientMock.get(anyString())).thenReturn(policyIds);
List<String> result = clientUnderTest.getPolicyIdentities().block();
assertEquals(2, result.size(), "");
Mono<String> policyIds = Mono.just(Arrays.asList(POLICY_1_ID, POLICY_2_ID).toString());
when(asyncRestClientMock.get(anyString())).thenReturn(policyIds);
List<String> result = clientUnderTest.getPolicyIdentities().block();
assertEquals(2, result.size(), "");