@Test(expected = IllegalArgumentException.class) public void testRenameTableThrowsExceptionWhenNullForTableName() { SchemaOperations.renameTable(null, "players"); }
RenameTable(String tableName, String newTableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); checkArgument(!Strings.isNullOrEmpty(newTableName), "You must specify a 'newTableName'."); this.tableName = tableName; this.newTableName = newTableName; }
RenameTable implements SchemaOperation { RenameTable(String tableName, String newTableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); checkArgument(!Strings.isNullOrEmpty(newTableName), "You must specify a 'newTableName'."); this.tableName = tableName; this.newTableName = newTableName; } }
RenameTable implements SchemaOperation { RenameTable(String tableName, String newTableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); checkArgument(!Strings.isNullOrEmpty(newTableName), "You must specify a 'newTableName'."); this.tableName = tableName; this.newTableName = newTableName; } RenameTable(String tableName, String newTableName); }
RenameTable implements SchemaOperation { RenameTable(String tableName, String newTableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); checkArgument(!Strings.isNullOrEmpty(newTableName), "You must specify a 'newTableName'."); this.tableName = tableName; this.newTableName = newTableName; } RenameTable(String tableName, String newTableName);  }
RenameTable implements SchemaOperation { RenameTable(String tableName, String newTableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); checkArgument(!Strings.isNullOrEmpty(newTableName), "You must specify a 'newTableName'."); this.tableName = tableName; this.newTableName = newTableName; } RenameTable(String tableName, String newTableName);   }