Feature implements IFeature { @Override public String getName() { return name; } Feature(final DependencyResolvingFeatureManager manager, final String name); @Override void requireFile(final String fileName); @Override void whenPresent(final IAction<Collection<IPath>> action); @Override void listen(); @Override String getName();  }
@Test public void Should_storeName() throws Exception { assertEquals("not_a_bug", new Feature(managerMock, "not_a_bug").getName()); }