### Question:
CreateTableIfNotExistsImpl extends BaseSqlPart implements CreateTableIfNotExists { @Nullable @Override public SqlPart previous() { return mPrevious; } CreateTableIfNotExistsImpl(@Nullable final String databaseName, @NotNull final String tableName, @NotNull final SqlPart previous); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); @NotNull @Override CreateColumns columns(@NotNull final Column... columns);  }### Answer:
@Test public void previous_returnsProperItem() { SqlPart sqlPart = mock(SqlPart.class); CreateTableIfNotExistsImpl createTableIfNotExists = new CreateTableIfNotExistsImpl(null, "table", sqlPart); SqlPart result = createTableIfNotExists.previous(); assertThat(result, is(sqlPart)); }