Diagnostic { public String getInstancePath() { return this.instancePath; } Diagnostic();  Diagnostic( String instancePath ); String getInstancePath(); void setInstancePath( String instancePath ); List<DependencyInformation> getDependenciesInformation();  }
@Test public void testConstructor() { String path = "/whatever"; Assert.assertEquals( path, new Diagnostic( path ).getInstancePath()); }