/** * @covers rvilbrandt\gamebook\Model\Gamebook\Inventory::removeItem */ public function testRemoveItem() { $this->object->addItem("test", new Inventory\Item()); $this->assertNull($this->object->removeItem("test")); $this->assertFalse($this->object->hasItem("test")); }