@Test
  public void resolveExceptionShouldSetGender() {
    long maxUploadSize = 1000;
    setUpPlayerProfile();

    final ModelAndView modelAndViewUnderTest =
        underTest.resolveException(
            request, response, null, new MaxUploadSizeExceededException(maxUploadSize));
    assertThat(
        genderRepository.getGenders(),
        is(equalTo(modelAndViewUnderTest.getModelMap().get("genders"))));
  }
 @Test
 public void shouldReturnCorrectGenders() {
   Map<String, String> actualGenders = underTest.populateGenders();
   assertThat(genderRepository.getGenders(), is(equalTo(actualGenders)));
 }