Пример #1
0
 public function testGetImageProcessor()
 {
     $imageProcessor = $this->getMockBuilder('\\Magento\\Framework\\Image')->disableOriginalConstructor()->getMock();
     $this->factory->expects($this->once())->method('create')->will($this->returnValue($imageProcessor));
     $this->assertSame($imageProcessor, $this->image->getImageProcessor());
 }