7475767778798081828384
when(this.deployment.getApplicationListeners()).thenReturn(listeners); assertFalse(this.context.isStarted()); listeners.start(); assertTrue(this.context.isStarted()); listeners.stop();