### Question:
ResourceManagerImpl implements ResourceManager<K> { @Override public <T> T getResourceValue(K id) { Resource<T> resource = get(id); if (resource == null) return null; return resource.get(); }  Resource<T> get(K id); @Override T getResourceValue(K id); @Override void unloadAll(); void add(K id, DataLoader dataLoader); @Override void addVolatile(K id, DataLoader dataLoader); @Override int getResourcesCount(); @Override Resource<T> getResourceFromIndex(int index); @Override K getKeyFromIndex(int index);  }### Answer:
@Test public void shouldReturnNullIfResourceForValueDoesntExist() { ResourceManager<String> resourceManager = new ResourceManagerImpl<String>(); String resourceValue = resourceManager.getResourceValue("NULL"); assertThat(resourceValue, IsNull.nullValue()); }