@Test
public void shouldReturnedPopulatedForm() throws Exception {

    // setup
    LatenessDormancyFormBean expectedFormBean = new LatenessDormancyFormBean();
    expectedFormBean.setLatenessDays(1);
    expectedFormBean.setDormancyDays(1);
    // stubbing
    when(adminServiceFacade.retrieveProductConfiguration()).thenReturn(new ProductConfigurationDto(1,1));
    // exercise test
    LatenessDormancyFormBean returnedFormBean = latenessDormancyController.showPopulatedForm();
    // verification
    Assert.assertThat(returnedFormBean, is(expectedFormBean));
    Mockito.verify(adminServiceFacade).retrieveProductConfiguration();
}