Ejemplo n.º 1
0
 /** Run App. */
 @BeforeClass
 public static void runApp() {
   port = WebAppTest.getRandomPort();
   app = new SampleNeo4jApp(port);
   try {
     app.run();
   } catch (Exception e) {
     fail(
         "Running sample app should not run any exception. Exception type: "
             + e.getClass().getName()
             + ": "
             + e.getMessage());
   }
 }