### Question:
BeginImpl extends BaseSqlPart implements Begin { @NotNull @Override public Transaction transaction() { return new TransactionImpl(this); }  @NotNull @Override Transaction transaction(); @NotNull @Override Deferred deferred(); @NotNull @Override Immediate immediate(); @NotNull @Override Exclusive exclusive(); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }### Answer:
@Test public void transaction_returnsNotNull() { BeginImpl begin = new BeginImpl(); Transaction result = begin.transaction(); assertThat(result, is(notNullValue())); }