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

    NotAccessiblePublicClassNoCRestConfig actual = ComponentFactory.instantiate(NotAccessiblePublicClassNoCRestConfig.class, mockCRestConfig);
    assertNotNull(actual);
}