### Question:
ResourcesHolder { public <T extends SortedResource> T get(Class<T> clazz) { T resource = resources.getInstance(clazz); logger.info("get {}:{}", clazz.getSimpleName(), resource); return resource; } ResourcesHolder(); void remove(Class<? extends SortedResource> clazz); void put(Class<T> clazz, T resource); T get(Class<T> clazz); void close(); static final String RESOURCES; }### Answer:
@Test public void getShouldReturnNullWhenKeyNoMatch() { assertThat(testee.get(TestResource.class)).isNull(); }