@Test(expected = IllegalArgumentException.class) public void testAtomicExists() { db.getAtomicInteger("test"); db.checkNameNotExists("test"); }