### Question:
PentahoWebPackageImpl implements IPentahoWebPackage { public String getResourceRootPath() { return this.resourceRootPath; } PentahoWebPackageImpl( String resourceRootPath, URL packageJsonUrl ); String getName(); String getVersion(); String getResourceRootPath(); @Override String getWebRootPath(); @Override Map<String, Object> getPackageJson();  }### Answer:
@Test public void testGetResourceRootPathShouldReturnResourceRootPathGivenInConstructor() { String expectedRootPath = "some/resource/path"; URL mockUrl = this.createMockUrlConnection( mockPackageJson ); PentahoWebPackageImpl pentahoWebPackage = new PentahoWebPackageImpl( expectedRootPath, mockUrl ); String actualRootPath = pentahoWebPackage.getResourceRootPath(); assertEquals( "Should return Package Resource Root Path", expectedRootPath, actualRootPath ); }