### Question:
GenericDataSource implements DataSource { @Override public String getResourceName() { return resourceName; } GenericDataSource(InputStream inputStream, String resourceName); @Override URI getUri(); @Override String getResourceName(); @Override InputStream getInputStream();  }### Answer:
@Test public void testGetResourceName() { GenericDataSource staticDataSource = new GenericDataSource(null, "resource"); assertThat(staticDataSource.getResourceName(), IsEqual.equalTo("resource")); }