@Test
public void testNameFederationNotFound() throws IOException {

    mockWebServer.enqueue(
            new MockResponse()
                    .setResponseCode(404)
                    .setBody(notFoundResponse)
    );
    try {
        FederationResponse response = server.resolveAddress("bob*stellar.org");
        fail("Expected exception");
    } catch (NotFoundException e) {
    }
}