public void tearDown() throws Exception {
   app.setUsingSocketCommunication(false);
 }
 public void setUp() throws Exception {
   app.setUsingSocketCommunication(true);
 }