### Question:
ComponentFactoryImpl implements ComponentFactory { @Override public Component createComponent(String componentName, String componentOriginalName, String environment) { return new ComponentImpl(configTypeRepository, propertiesFactory, componentName, componentOriginalName, environment); }  @Override Component createComponent(String componentName,
                                     String componentOriginalName,
                                     String environment);  }### Answer:
@Test void createComponent() { String name = "name"; String originalName = "originalName"; String env = "env"; assertEquals( new ComponentImpl(configTypeRepository, propertiesFactory, name, originalName, env), subj.createComponent(name, originalName, env) ); }