public function testCreate() { $this->assertSame($this->requestMock, $this->requestFactory->create()); }
/** * 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); }