Package com.mockey.model.ConflictInfo

Examples of com.mockey.model.ConflictInfo.Conflict


    conflictInfo.addConflict(a, b, "Same matching URL");

    assert (conflictInfo.getConflictList(a).size() == 1) : "Expected conflict list to be size 1 but was "
        + conflictInfo.getConflictList(a).size();

    Conflict conflict = conflictInfo.getConflictList(a).get(0);

    assert (conflict.getService().getId().equals(new Long(345))) : "Expected conflict Service ID to be 345 but was "
        + conflict.getService().getId();

    assert (conflict.getConflictMessageList().size() == 2) : "Expected conflict message list length to be 2 but was "
        + conflict.getConflictMessageList().size();

  }
View Full Code Here

TOP

Related Classes of com.mockey.model.ConflictInfo.Conflict

Copyright © 2018 www.massapicom. 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.