testFindByPK() testFindByPK verify that findByPrimaryKey find an existing entityBean
pre condition: an element with "pk1" as primary key must exist in the database
findByPrimaryKey("testFindByPK") must pass.
init environment:
- load beans
- create/init database for entities.
testCreateNewEntityFindByNameRemove
public void testCreateNewEntityFindByNameRemove() throws Exception(Code)
testCreateNewEntity verify that we can create a new entityBean
We create a new entity testCreateNewEntity, 20, 6
the findByTestName("testCreateNewEntity") must pass and the resulting must be equals to 20
pre condition the testCreateNewEntity element must not exist
testFindByPK verify that findByPrimaryKey find an existing entityBean
pre condition: an element with "pk1" as primary key must exist in the database
findByPrimaryKey("testFindByPK") must pass.
Fields inherited from org.objectweb.jonas.jtests.util.JTestCase