pull/19101/head
Madhura Bhave 5 years ago
parent a3a53d299f
commit 849a76c6c2

@ -74,7 +74,7 @@ public class HealthWebEndpointResponseMapperTests {
} }
@Test @Test
public void mapDetailsWithAuthorizedUserInvokeSupplier() { public void mapDetailsWithAuthorizedUserInvokesSupplier() {
HealthWebEndpointResponseMapper mapper = createMapper(ShowDetails.WHEN_AUTHORIZED); HealthWebEndpointResponseMapper mapper = createMapper(ShowDetails.WHEN_AUTHORIZED);
Supplier<Health> supplier = mockSupplier(); Supplier<Health> supplier = mockSupplier();
given(supplier.get()).willReturn(Health.down().build()); given(supplier.get()).willReturn(Health.down().build());

Loading…
Cancel
Save