@Test
public void testGetAgreement() throws Exception {

    String json = TestUtils.getStringFromPath(TestFixtures.AGREEMENT_PATH_JSON);
    getMockWebServer().enqueue(new MockResponse()
                    .setBody(json)
                    .setHeader("Accept", MediaType.APPLICATION_JSON)
                    .setHeader("Content-Type", MediaType.APPLICATION_JSON)
    );
    Agreement response = getProxy().getAgreement(RANDOM_STRING);
    // Agreement doesn't implement equals(), so we are going to check the IDs
    Agreement fixture = ObjectMapperHelpers.JsonToObject(json, Agreement.class);
    assertEquals(response.getAgreementId(), fixture.getAgreementId());
}