}
@Test
public void queryWithHashKey() {
// Setup table with items
KeySchema schema = new KeySchema(new KeySchemaElement().withAttributeName("id").withAttributeType(ScalarAttributeType.S));
createTable(tableName, schema);
AttributeValue hashKey = createStringAttribute();
getClient().putItem(new PutItemRequest().withItem(createGenericItem()).withTableName(tableName));
getClient().putItem(new PutItemRequest().withItem(createGenericItem(hashKey)).withTableName(tableName));
getClient().putItem(new PutItemRequest().withItem(createGenericItem()).withTableName(tableName));