### Question:
SourceFile { public String path() { return path; } SourceFile(String path);  SourceFile(String path, Code code); String path(); Code code(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void storesFilePath() { SourceFile sourceFile = new SourceFile(path); Assert.assertEquals("Path", path, sourceFile.path()); }