protected void setup() {
    super.setup();
    orgDisableCacheHitsOnRemote = descriptor.shouldDisableCacheHitsOnRemote();
    descriptor.setShouldDisableCacheHitsOnRemote(true);

    serverSession = ((ClientSession) RemoteModel.getServerSession()).getParent();
    // Set shouldDisableCacheHits to true on the server session
    serverDescriptor =
        serverSession.getDescriptor(
            org.eclipse.persistence.testing.models.employee.domain.Employee.class);
    orgServerDisableCacheHits = serverDescriptor.shouldDisableCacheHits();
    serverDescriptor.setShouldDisableCacheHits(true);
    // Set shouldLogMessages to true on the server session
    oldLog = serverSession.getSessionLog();
    tempStream = new StringWriter();
    serverSession.setLog(tempStream);
    serverSession.setLogLevel(SessionLog.FINE);
  }
 public void addTests() {
   super.addTests();
   addTest(getExceptionsTestSuite());
 }