@Test(expected = IllegalStateException.class) public void closeTablePutValueShouldFail() throws Exception { dataTable.close(); Storeable value = new StoreableDataValue(types); value.setColumnAt(0, 5); value.setColumnAt(1, "book"); dataTable.put("key", value); }
@Test(expected = IllegalStateException.class) public void closeTableGetShouldFail() throws Exception { dataTable.close(); dataTable.get("key"); }