@Test
public void testGetTemplateGeneratorShouldReturnWithTemplateGenerator() {

    //GIVEN
    given(stubResourcePathProvider.getTemplatesPathAsString()).willReturn(CLASS);
    given(externalInitializer.loadExternalClass(CLASS, CLASS, TemplateGenerator.class)).willReturn(templateGenerator);
    //WHEN
    TemplateGenerator actual = underTest.getTemplateGenerator(CLASS);
    //THEN
    Assert.assertEquals(actual, templateGenerator);
}