Exemplo n.º 1
0
 public function testloadByIdWithoutStore()
 {
     $quoteId = 1;
     $this->resourceMock->expects($this->once())->method('loadByIdWithoutStore')->with($this->quote, $quoteId);
     $this->eventManagerMock->expects($this->any())->method('dispatch');
     $result = $this->quote->loadByIdWithoutStore($quoteId);
     $this->assertInstanceOf('Magento\\Sales\\Model\\Quote', $result);
 }