### Question:
License implements Serializable { public String getFilename() { return filename; } 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 shouldGetLicenseFilename() { String licenseFilename = "filename"; License license = new License(licenseFilename, "..."); String filename = license.getFilename(); assertEquals(filename, licenseFilename); }