@Test
public void testLoadExternalClassShouldGetClassAsBeanFirst() throws InstantiationException, IllegalAccessException, InvocationTargetException {

    //GIVEN in setup
    //WHEN
    Object result = underTest.loadExternalClass(PACKAGE_NAME, JAR_FOLDER_PATH, INTERFACE_TO_CAST);
    //THEN
    verify(classInstantiator, never()).createClassInstanceOf(INTERFACE_TO_CAST);
    verify(logger).info(Mockito.anyString(), Mockito.anyObject(), Mockito.anyObject(), Mockito.anyObject());
    assertNotNull(result);
}