@Test
  public void valid_id_should_return_the_valid_entity()
      throws IllegalArgumentException, NotFoundException {
    Person person = loader.getPerson("1");

    assertThat(person, is(notNullValue()));
    assertThat(person.getId(), is("1"));
    assertThat(person.getGivenName(), is("Wayne"));
    assertThat(person.getFamilyName(), is("Rooney"));
    assertThat(person.getMiddleNames(), is("Mark"));
    assertThat(person.getDateOfDeath(), is(""));
    assertThat(person.getDateOfBirth(), is("1985-10-24"));
    assertThat(person.getPlaceOfBirth(), is("Liverpool"));
    assertThat(person.getHeight(), is(Float.valueOf(1.76f)));
    assertThat(person.getTwitterId(), is("@WayneRooney"));
  }
 @Test(expected = NotFoundException.class)
 public void invalid_id_should_throw_an_exception()
     throws IllegalArgumentException, NotFoundException {
   loader.getPerson("999");
 }
 @Test(expected = IllegalArgumentException.class)
 public void null_id_should_throw_an_exception()
     throws IllegalArgumentException, NotFoundException {
   loader.getPerson(null);
 }