bidirEntity.setProperty("childVal", "yap");
ds.put(bidirEntity);
Transaction txn = EasyMock.createMock(Transaction.class);
EasyMock.expect(txn.getId()).andReturn("1").times(2);
txn.commit();
EasyMock.expectLastCall();
EasyMock.replay(txn);
EasyMock.expect(mockDatastore.beginTransaction(EasyMock.isA(TransactionOptions.class))).andReturn(txn);
// the only get we're going to perform is for the pojo
EasyMock.expect(mockDatastore.get(txn, pojoEntity.getKey())).andReturn(pojoEntity);