자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
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); }