Assert.assertNotNull(result.getConsumedCapacityUnits());
}
@Test
public void deleteItemWithHashKeyAndRangeKey() {
KeySchema schema = new KeySchema(new KeySchemaElement().withAttributeName("id").withAttributeType(ScalarAttributeType.S));
schema.setRangeKeyElement(new KeySchemaElement().withAttributeName("range").withAttributeType(ScalarAttributeType.N));
createTable(tableName, schema);
AttributeValue hash = new AttributeValue("ad");
AttributeValue range1 = new AttributeValue().withN("1");
AttributeValue range2 = new AttributeValue().withN("2");
getClient().putItem(new PutItemRequest().withTableName(tableName).withItem(createGenericItem(hash, range1)));