Example #1
0
 public function testCreate()
 {
     $this->assertSame($this->requestMock, $this->requestFactory->create());
 }
Example #2
0
 /**
  * Factory constructor
  *
  * @param \Magento\Framework\ObjectManagerInterface $objectManager
  * @param string $instanceName
  */
 public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, $instanceName = 'Magento\\Authorizenet\\Model\\Directpost\\Request')
 {
     parent::__construct($objectManager, $instanceName);
 }