/** * @expectedException \Magento\Framework\Exception\NotFoundException * @expectedExceptionMessage Store was not registered */ public function testGetStoreWithException() { $this->assertInstanceOf(StoreInterface::class, $this->model->getStore()); }
public function testGetProduct() { $this->assertInstanceOf('Magento\\Catalog\\Api\\Data\\ProductInterface', $this->model->getProduct()); }