public function test_deleteTable_shouldSetTheGivenDataTableDeleted_IfIdExists() { $tables = $this->addDataTables(3); $this->manager->deleteTable($id = 2); $this->assertDataTablesInManager(array(1 => $tables[1], 2 => null, 3 => $tables[3])); }