Examples of markTestAsAnswered()


Examples of cave.nice.testMessage.data.DataManager.markTestAsAnswered()

    DataManager dataManager = getDataManager();
    try {
      VerifiedAccount account = dataManager
          .getVerifiedAccount(emailAddress);
      Test test = dataManager.getTestOfAccount(account, challenge);
      dataManager.markTestAsAnswered(test, new Date());
      LOGGER.info("REST answer to the test with challenge '"
          + test.getChallenge() + "' of the email account '"
          + account.getEmailAddress() + "'");
    } catch (UknownTestChallengeException e) {
      throw new WebApplicationException(Response
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.