public function testDeleteEntity() { $item = new Item(new ItemId('Q23')); $this->repo->putEntity($item); $this->repo->deleteEntity($item->getId(), 'testing', $GLOBALS['wgUser']); $this->assertFalse($this->repo->hasEntity($item->getId())); }