@Test
  public void shouldParseSingleLocation() throws IOException, HttpException {
    MRSFacility expected = makeFacility(true);

    String json = TestUtils.parseJsonFileAsString("json/location-response.json");

    when(client.getJson(null)).thenReturn(json);

    MRSFacility result = impl.getFacility("Test");

    assertEquals(expected, result);
  }
 @Test(expected = IllegalArgumentException.class)
 public void shouldThrowExceptionOnNullFacilityId() {
   impl.getFacility(null);
 }