@Test public void testPipelinesNoAppAccess_Async() throws Exception { try { janvil.promote("java"); fail(); } catch (JanvilRuntimeException e) { assertEquals(e.getMessage(), "No access to app java"); } }