/** * Should be able to get the route prefix. */ public function testRoutePrefix() { $this->assertEquals('product::', $this->productPresenter->routePrefix()); }
/** * @param ProductPresenter $product * * @return string */ public function productEnquiryMail(ProductPresenter $product) : string { return 'mailto:ching@ching-shop.com?subject=' . "I would like to buy '{$product->name()}' ({$product->sku()})"; }