@Test public void assertNullResultValue() throws SQLException { when(resultSet.getObject(1)).thenReturn(null); assertNull(QueryResultUtil.getValue(resultSet, 1)); }
public static Object getValue(final ResultSet resultSet, final int columnIndex) throws SQLException { Object result = getValueByColumnType(resultSet, columnIndex); return resultSet.wasNull() ? null : result; }
QueryResultUtil { public static Object getValue(final ResultSet resultSet, final int columnIndex) throws SQLException { Object result = getValueByColumnType(resultSet, columnIndex); return resultSet.wasNull() ? null : result; } }
QueryResultUtil { public static Object getValue(final ResultSet resultSet, final int columnIndex) throws SQLException { Object result = getValueByColumnType(resultSet, columnIndex); return resultSet.wasNull() ? null : result; }  }
QueryResultUtil { public static Object getValue(final ResultSet resultSet, final int columnIndex) throws SQLException { Object result = getValueByColumnType(resultSet, columnIndex); return resultSet.wasNull() ? null : result; }  static Object getValue(final ResultSet resultSet, final int columnIndex); }
QueryResultUtil { public static Object getValue(final ResultSet resultSet, final int columnIndex) throws SQLException { Object result = getValueByColumnType(resultSet, columnIndex); return resultSet.wasNull() ? null : result; }  static Object getValue(final ResultSet resultSet, final int columnIndex);  }