### Question:
SnapshotInfo { @Override public String toString() { return "\tProjectname: " + projectName + "\n\tOld file path: " + oldFilePath + "\n\tCurrent file path: " + currentFilePath + "\n\tFull old path: " + oldFullFilePath + "\n\tFull current path: " + currentFullFilePath + "\n\tType: " + type; } SnapshotInfo(String projectName, String oldFilePath, String currentFilePath, String oldFullFilePath,
            String fullFilePath, ChangeType type); String getProjectName(); String getOldFilePath(); String getCurrentFullFilePath(); String getOldFullFilePath(); String getCurrentFilePath(); ChangeType getChangeType(); boolean pathsAreEmpty(); @Override String toString();  }### Answer:
@Test public void toStringReturnsCorrectString() { String s = "\tProjectname: pn\n\tOld file path: ofp\n\tCurrent file path: cfp\n\tFull old path: offp\n\tFull current path: cffp\n\tType: " + ChangeType.NONE; info = new SnapshotInfo("pn", "ofp", "cfp", "offp", "cffp", ChangeType.NONE); assertEquals(s, info.toString()); }