@Test public void isSessionOpened() { int count = monitor.getCount(); assertThat(count, is(1)); String firstInfo = monitor.getInfos()[0]; assertThat(firstInfo.length(), greaterThan(0)); return; }
@Test public void isMonitorInstalled() { assertThat(monitor, notNullValue()); monitor.getCount(); // throw exception is monitor not present }