public function testVerifyToken() { $this->initGetMethodInstance(); $this->paymentMethodInstanceMock->expects($this->once())->method('getBillingAgreementTokenInfo')->with($this->model)->willReturn($this->model); $this->assertEquals($this->model, $this->model->verifyToken()); }