### Question:
SqliteUtil { public static Integer toInteger(Boolean boolValue) { if (boolValue == null) { return null; } if (Boolean.FALSE.equals(boolValue)) { return FALSE; } return TRUE; } private  SqliteUtil(); static void putIfNotNull(ContentValues values, String column,
            Object value); static Date loadDate(Cursor cursor, int index); static Boolean loadBoolean(Cursor cursor, int index); static Boolean toBoolean(Integer intValue); static ContentValues toContentValues(Map<String, Object> input); static Integer toInteger(Boolean boolValue); static Integer loadInteger(Cursor cursor, int index); static Long loadLong(Cursor cursor, int index); static final Integer FALSE; static final Integer TRUE; }### Answer:
@Test public void testToIntegerFalse() { assertEquals(Integer.valueOf(0), SqliteUtil.toInteger(Boolean.FALSE)); }
@Test public void testToIntegerTrue() { assertEquals(Integer.valueOf(1), SqliteUtil.toInteger(Boolean.TRUE)); }
@Test public void testToIntegerNull() { assertNull(SqliteUtil.toInteger(null)); }