@Test
public void getDcIdFromKernelLocalAuthorityNotFound() {

    stubFor(get(urlPathEqualTo("/api/admin/local-authority/987654321/dcId"))
            .willReturn(notFound()));
    LocalAuthority localAuthority = new LocalAuthority();
    ReflectionTestUtils.setField(localAuthority, "uuid", "uuid-local-authority-two-test");
    localAuthority.setSiren("987654321");
    Optional<String> dcId = externalRestService.getLocalAuthorityDcId(localAuthority);
    WireMock.verify(getRequestedFor(urlPathEqualTo("/api/admin/local-authority/987654321/dcId")));
    Assert.assertFalse(dcId.isPresent());
}