8 use \Magento\Framework\App\RequestFactory;
24 $this->objectManagerMock = $this->createMock(\
Magento\Framework\ObjectManagerInterface::class);
36 $appRequest = $this->createMock(\
Magento\Framework\
App\RequestInterface::class);
38 $this->objectManagerMock->expects($this->once())
41 ->will($this->returnValue($appRequest));
43 $this->assertEquals($appRequest, $this->model->create(
$arguments));