### Question:
License implements Serializable { public String getLicenseText() { return text; } License(final String filename, final String text);  License(License toCopy); boolean isAccepted(); void accept(); void reject(); String getFilename(); String getLicenseText(); Iterable<String> lines(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void shouldReturnCorrectLicenseText() { String filename = "..."; String licenseText = "Some license text"; License license = new License(filename, licenseText); String result = license.getLicenseText(); assertEquals(result, licenseText); }