@Test
public void shouldUseFallbackWhenConstructorIsNotPublic() {

    JavaCompilerInstanceSupplierFactory factory = new JavaCompilerInstanceSupplierFactory(compilerFacade, reflections, fallback);
    Constructor<?> constructor = Faa.class.getDeclaredConstructors()[0];
    constructor.setAccessible(true);
    InstanceSupplier instanceSupplier = factory.apply(constructor);
    Assertions.assertNotNull(instanceSupplier);
    Object value = instanceSupplier.get();
    Assertions.assertTrue(value instanceof Faa);
}