IDCard { public boolean isFemale() { return getGenderCode() % 2 == 0; } IDCard(String number); String number(); boolean isMale(); boolean isFemale();  }
@Test public void should_be_male_given_number_with_even_value_at_17() { IDCard idCard = new IDCard(validIdCardNumberOfFemale); assertThat(idCard.isFemale()).isTrue(); }