@Test
void testCreateSpringReactive(@Mock GeneratorContext generatorContext) {

    when(generatorContext.getApplicationProperty(GeneratorConfig.KOGITO_REST_RESOURCE_TYPE_PROP)).thenReturn(Optional.of("reactive"));
    when(generatorContext.getBuildContext()).thenReturn(new SpringBootKogitoBuildContext(p -> true));
    assertThrows(NoSuchElementException.class, () -> tested.create(generatorContext,
                                                                   process,
                                                                   MODEL_FQCN,
                                                                   PROCESS_FQCN,
                                                                   APP_CANONICAL_NAME));
}