### Question:
Directory { @Override public String toString() { return "Directory{" + "id=" + id + ", name='" + name + '\'' + ", active=" + active + ", serviceIds=" + serviceIds + ", androidKey='" + androidKey + '\'' + ", iosCertificateFingerprint='" + iosCertificateFingerprint + '\'' + ", denialContextInquiryEnabled='" + denialContextInquiryEnabled + "\'" + ", webhookUrl='" + webhookUrl + "\'" + '}'; } Directory(UUID id, String name, boolean active, List<UUID> serviceIds, List<UUID> sdkKeys, String androidKey,
                     String iosCertificateFingerprint, Boolean denialContextInquiryEnabled, URI webhookUrl); UUID getId(); String getName(); boolean isActive(); List<UUID> getServiceIds(); List<UUID> getSdkKeys(); String getAndroidKey(); String getIosCertificateFingerprint(); Boolean isDenialContextInquiryEnabled(); URI getWebhookUrl(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void toStringContainsClassName() throws Exception { assertThat(new Directory(UUID.randomUUID(), null, true, null, null, null, null, null, null).toString(), containsString("Directory")); }