01: package net.sourceforge.jaxor.example.tests;
02:
03: import junit.framework.TestCase;
04: import net.sourceforge.jaxor.example.domain.OrdersEntity;
05: import net.sourceforge.jaxor.example.domain.OrderImpl;
06: import net.sourceforge.jaxor.util.ForeignFieldLazyLoader;
07:
08: import java.util.List;
09:
10: /**
11: * Created By: Mike
12: * Date: Feb 29, 2004
13: * Time: 7:37:54 PM
14: *
15: * Last Checkin: $Author: mrettig $
16: * Date: $Date: 2004/03/03 03:59:18 $
17: * Revision: $Revision: 1.1 $
18: */
19: public class ForeignFieldTest extends TestCase {
20:
21: public void testForeignFields() {
22: OrdersEntity ent = new OrderImpl();
23: List foreignFields = ent.getFields().getForeignFields();
24: assertEquals(1, foreignFields.size());
25: }
26:
27: }
|