### Question:
DirectoryV3DevicesPostRequest { @Override public String toString() { return "DirectoryV3DevicesPostRequest{" + "identifier='" + identifier + '\'' + ", ttl=" + ttl + '}'; } DirectoryV3DevicesPostRequest(String identifier, Integer ttl); @JsonProperty("identifier") String getIdentifier(); @JsonProperty("ttl") @JsonInclude(JsonInclude.Include.NON_EMPTY) Integer getTTL(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); final String identifier; }### Answer:
@Test public void toStringContainsClassName() { assertThat(request.toString(), containsString(DirectoryV3DevicesPostRequest.class.getSimpleName())); }