Package org.martinlaw.bo

Examples of org.martinlaw.bo.MatterWorkRule


   * tests {@link org.martinlaw.bo.MatterWorkRule#isPrincipalNameInAssigneeList(MatterWork, String)}
   */
  public void testIsPrincipalNameInAssigneeList () {
    work = getWork();
    work.setMatterId(3000l);
    MatterWorkRule rule = new MatterWorkRule();
    String principalNameExists = "pauline_njogu";
    String principalNameDummy = "en";
    assertFalse("matter id does not exist", rule.isPrincipalNameInAssigneeList(work, principalNameExists));
    assertFalse("matter id does not exist", rule.isPrincipalNameInAssigneeList(work, principalNameDummy));
    work = getWork();
    work.setMatterId(1001l);
    assertTrue("assignee exists", rule.isPrincipalNameInAssigneeList(work, principalNameExists));
    assertFalse("assignee does not exist", rule.isPrincipalNameInAssigneeList(work, principalNameDummy));
  }
View Full Code Here

TOP

Related Classes of org.martinlaw.bo.MatterWorkRule

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.