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