@Test
public void commitShouldThrowCheckedException() throws DatastoreIOException {

  doThrow(CAUSE).when(transaction).commit();
  exception.expect(DatastoreIOException.class);
  exception.expectCause(is(CAUSE));
  sut.commit();
}