01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.objectserver.managedobject;
06:
07: import com.tc.object.ObjectID;
08: import com.tc.objectserver.core.api.ManagedObjectState;
09:
10: public class PhysicalManagedObjectStateTest extends
11: AbstractTestManagedObjectState {
12:
13: public void testObjectPhysical() throws Exception {
14: String className = "com.tc.objectserver.managedobject.PhysicalManagedObjectStateTest";
15: TestDNACursor cursor = new TestDNACursor();
16:
17: cursor.addPhysicalAction("field1", new ObjectID(2002), true);
18: cursor.addPhysicalAction("field2", new ObjectID(2003), true);
19: cursor.addPhysicalAction("field3", new Integer(33), false);
20:
21: basicTestUnit(className, ManagedObjectState.PHYSICAL_TYPE,
22: cursor, 2);
23: }
24:
25: }
|