### Question:
Features { public <C extends Feature> C get(Class<C> feature) { final Feature found = typeToFeature.get(feature); if (found != null) { return feature.cast(found); } throw new LionEngineException(ERROR_FEATURE_NOT_FOUND + feature.getName()); } Features(); void add(Feature feature); C get(Class<C> feature); boolean contains(Class<C> feature); Iterable<Feature> getFeatures(); Iterable<Class<? extends Feature>> getFeaturesType();  }### Answer:
@Test void testFeatureNotFound() { assertThrows(() -> features.get(Feature.class), "Feature not found: " + Feature.class.getName()); }