@Test
public void newTransactionShouldThrowCheckedException() throws DatastoreIOException {

  when(datastore.newTransaction()).thenThrow(CAUSE);
  exception.expect(DatastoreIOException.class);
  exception.expectCause(is(CAUSE));
  sut.newTransaction();
}