@Test
public void loadClassTest() {

    assertEquals(String.class, loadClass(String.class.getCanonicalName(), classLoader));
    assertEquals(int.class, loadClass(int.class.getCanonicalName(), classLoader));
    assertEquals(RuleScenarioRunnerHelperTest.class, loadClass(RuleScenarioRunnerHelperTest.class.getCanonicalName(), classLoader));
    assertEquals(EnumTest.class, loadClass(EnumTest.class.getCanonicalName(), classLoader));
    assertThatThrownBy(() -> loadClass(null, classLoader))
            .isInstanceOf(ScenarioException.class)
            .hasMessage("Impossible to load class null");
    assertThatThrownBy(() -> loadClass("NotExistingClass", classLoader))
            .isInstanceOf(ScenarioException.class)
            .hasMessage("Impossible to load class NotExistingClass");
}