@Test
public final void testAfterPropertiesShouldBuildTheIndex() throws Exception {

    //GIVEN in setup
    //WHEN
    underTest.afterPropertiesSet();
    //THEN
    verify(indexTaskScheduler).runReindexOnDemand();
}