@Test
 public void getItemWithoutTableNameTest() {
   GetItemRequest request = new GetItemRequest();
   request.setKey(createItemKey("id", new AttributeValue().withNS("123")));
   try {
     getClient().getItem(request);
     Assert.assertTrue(false); // Should have thrown an exception
   } catch (AmazonServiceException ase) {
   }
 }
 @Test
 public void getItemWithoutKeyTest() {
   GetItemRequest request = new GetItemRequest();
   request.setTableName(tableName);
   try {
     getClient().getItem(request);
     Assert.assertTrue(false); // Should have thrown an exception
   } catch (AmazonServiceException ase) {
   }
 }
  // TODO: test out put item expected and return value
  @Test
  public void getItemTest() {
    AttributeValue hash = createItem(tableName);

    GetItemRequest request = new GetItemRequest().withTableName(tableName);
    request.setKey(createItemKey("id", hash));
    GetItemResult res = getClient().getItem(request);

    Assert.assertNotNull(res.getItem());
    Assert.assertEquals(res.getItem().get("id"), hash);
  }