public function testGetProductForThumbnail() { $product = $this->_initProduct(); $productForThumbnail = $this->_renderer->getProductForThumbnail(); $this->assertEquals($product->getName(), $productForThumbnail->getName(), 'Invalid product was returned.'); }