### Question:
DirectoryUserTotp { public int getPeriod() { return 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 testGetPeriod() { assertEquals(1234, model.getPeriod()); }