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

    AccessiblePublicClassWithCRestConfig actual = ComponentFactory.instantiate(AccessiblePublicClassWithCRestConfig.class, mockCRestConfig);
    assertNotNull(actual);
    assertSame(mockCRestConfig, actual.crestConfig);
}