Package org.martinlaw.bo

Examples of org.martinlaw.bo.Matter.refreshNonUpdateableReferences()


    Matter matter = getTestMatter(localReference, statusText, name);
    // C
    getBoSvc().save(matter);
    // R
    matter = getBoSvc().findBySinglePrimaryKey(getDataObjectClass(), matter.getId());
    matter.refreshNonUpdateableReferences(); //without this, case status (object) is null
    assertEquals("case name differs", name, matter.getName());
    assertEquals("local reference differs", localReference, matter.getLocalReference());
    assertNotNull("clients should not be null", matter.getClients());
    assertEquals("number of clients expected differs", 2, matter.getClients().size());
   
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.