public function testGetElementRaisesException() { $basket = new Basket(); $basket->getElement(new Product()); }