QueryRequest request =
new QueryRequest()
.withTableName(tableName)
.withKeyConditions(createHashKeyCondition("id", hashKey))
;
QueryResult result = getClient().query(request);
Assert.assertNotNull(result.getItems());
Assert.assertNotSame(result.getItems().size(), 0);
Map<String, AttributeValue> row = result.getItems().get(0);
assertEquals(row.get("id"), hashKey);
assertEquals(row.get("count").getN(), "102");
assertEquals(row.get("ids").getS(), "[er, er]");
}