public function testGetShippingAddress() { $address = $this->helperManager->getObject('\\Magento\\Sales\\Model\\Order\\Address', []); $this->orderMock->expects($this->once())->method('getShippingAddress')->willReturn($address); $this->assertEquals($address, $this->model->getShippingAddress()); }