@Test public void get_shouldReturnColumnValue() throws Exception { cursor.setResults(new Object[][]{new Object[]{ "aString", 1234L, 42, new byte[]{1, 2, 3}, 255, 1.25f, 2.5d, null }}); assertThat(cursor.getCount()).isEqualTo(1); assertThat(cursor.moveToNext()).isTrue(); assertThat(cursor.getString(indexOf(STRING_COLUMN))).isEqualTo("aString"); assertThat(cursor.getLong(indexOf(LONG_COLUMN))).isEqualTo(1234L); assertThat(cursor.getInt(indexOf(INT_COLUMN))).isEqualTo(42); assertThat(cursor.getBlob(indexOf(BLOB_COLUMN))).asList().containsExactly((byte) 1, (byte) 2, (byte) 3); assertThat(cursor.getShort(indexOf(SHORT_COLUMN))).isEqualTo((short) 255); assertThat(cursor.getFloat(indexOf(FLOAT_COLUMN))).isEqualTo(1.25f); assertThat(cursor.getDouble(indexOf(DOUBLE_COLUMN))).isEqualTo(2.5d); assertThat(cursor.isNull(indexOf(NULL_COLUMN))).isTrue(); }