}
public void testEJBQLSelectScalar() throws Exception {
createTestData("testEJBQLSelect");
DataContext context = createDataContext();
ClientServerChannel clientServerChannel = new ClientServerChannel(context);
UnitLocalConnection connection = new UnitLocalConnection(
clientServerChannel,
LocalConnection.HESSIAN_SERIALIZATION);
ClientChannel channel = new ClientChannel(connection);
CayenneContext clientContext = new CayenneContext(channel);