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