@Test
void testCreateQuarkusReactive(@Mock GeneratorContext generatorContext) {

    when(generatorContext.getApplicationProperty(GeneratorConfig.KOGITO_REST_RESOURCE_TYPE_PROP)).thenReturn(Optional.of("reactive"));
    when(generatorContext.getBuildContext()).thenReturn(new QuarkusKogitoBuildContext(p -> true));
    Optional<AbstractResourceGenerator> context = tested.create(generatorContext,
                                                                process,
                                                                MODEL_FQCN,
                                                                PROCESS_FQCN,
                                                                APP_CANONICAL_NAME);
    assertThat(context.isPresent()).isTrue();
    assertThat(context.get()).isExactlyInstanceOf(ReactiveResourceGenerator.class);
}