### Question:
DirectoryUserTotp { @Override public String toString() { return "DirectoryUserTotp{" + "secret='" + secret + '\'' + ", algorithm='" + algorithm + '\'' + ", digits=" + digits + ", period=" + period + '}'; } DirectoryUserTotp(String secret, String algorithm, int period, int digits); String getSecret(); String getAlgorithm(); int getDigits(); int getPeriod(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testToStringHasClassName() { assertTrue(model.toString().contains(model.getClass().getSimpleName())); }