### Question:
BaseGenerator implements Generator { protected String getFromAsConfigured() { return getConfigWithFallback(Config.from, "jshift.generator.from", null); } BaseGenerator(GeneratorContext context, String name);  BaseGenerator(GeneratorContext context, String name, FromSelector fromSelector); String getName(); GeneratorContext getContext();  }### Answer:
@Test public void fromAsConfigured() { final Properties projectProps = new Properties(); projectProps.put("jshift.generator.from","propFrom"); setupContextKubernetes(projectProps,"configFrom", null); BaseGenerator generator = createGenerator(null); assertEquals("configFrom",generator.getFromAsConfigured()); setupContextKubernetes(projectProps,null, null); generator = createGenerator(null); assertEquals("propFrom",generator.getFromAsConfigured()); }