public function testProcessPendingSuccess() { $payuplOrderId = 'ABC'; $status = 'PENDING'; $this->transactionService->expects($this->once())->method('updateStatus')->with($this->equalTo($payuplOrderId), $this->equalTo($status), $this->equalTo(false)); $this->model->processPending($payuplOrderId, $status); }