@Test
public void testOnApplicationEventShouldSetTemplatesPath() {

    //GIVEN
    String templatePath = "templatePath";
    given(propertyHolder.get("stub.template.path")).willReturn(templatePath);
    //WHEN
    underTest.setProperties();
    //THEN
    verify(stubResourcePathProvider).setTemplatesPath(templatePath);
}