@Test
public void testNameFederationSuccess() throws IOException {

    mockWebServer.enqueue(
            new MockResponse()
                    .setResponseCode(200)
                    .setBody(successResponse)
    );
    FederationResponse response = server.resolveAddress("bob*stellar.org");
    assertEquals(response.getStellarAddress(), "bob*stellar.org");
    assertEquals(response.getAccountId(), "GCW667JUHCOP5Y7KY6KGDHNPHFM4CS3FCBQ7QWDUALXTX3PGXLSOEALY");
    assertNull(response.getMemoType());
    assertNull(response.getMemo());
}