AlterImpl extends BaseSqlPart implements Alter { @NotNull @Override public AlterTable table(@NotNull final String tableName) { return table(null, tableName); }  @NotNull @Override AlterTable table(@NotNull final String tableName); @NotNull @Override AlterTable table(@Nullable final String databaseName, @NotNull final String tableName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }
@Test public void tableWithOnlyTableName_returnsTableInstance() { AlterTable alterTable = mAlter.table("table"); assertThat(alterTable, is(notNullValue())); }
@Test public void tableWithDatabaseAndTableName_returnsTableInstance() { AlterTable alterTable = mAlter.table("table"); assertThat(alterTable, is(notNullValue())); }