@Test
public void testEnsureNotNegative_ValidCase() {

    IllegalStateException unexpected = null;
    try {
        DBQueries.ensureNotNegative(0);
        DBQueries.ensureNotNegative(1);
    }
    catch (IllegalStateException e) {
        unexpected = e;
    }
    assertNull(unexpected);
}