예제 #1
0
 public function testLoadByConsumerId()
 {
     $consumerId = 1;
     $this->resourceMock->expects($this->once())->method('load')->with($this->integrationModel, $consumerId, \Magento\Integration\Model\Integration::CONSUMER_ID);
     $this->integrationModel->loadByConsumerId($consumerId);
     $this->assertFalse($this->integrationModel->hasDataChanges());
 }