@Test public void testNoCrash() { assertNotNull(NoopBaleenHistory.getInstance()); NoopBaleenHistory nbh = new NoopBaleenHistory(); assertNotNull(nbh.getHistory("id")); nbh.closeHistory("any"); assertTrue(nbh.getHistory("id").getAllHistory().isEmpty()); assertTrue(nbh.getHistory("id").getHistory(1).isEmpty()); nbh.getHistory("id").add(null); nbh.closeHistory("any"); nbh.getHistory("id").close(); } }