    @Test
    public void addNewHero() {

        NewHeroModel model = mock(NewHeroModel.class);
        when(model.getRepository()).thenReturn(REPOSITORY);
        when(model.getHero()).thenReturn(new Hero());
        String view = subjectUnderTest.addNewHero(model);
        assertThat(view).isEqualTo("redirect:/hero");
        verify(heroService).addHeroToRepository(any(Hero.class), anyString());
    }