Sonata\Tests\Component\Payment\DebugPaymentTest::getDebugPayment PHP 메소드

getDebugPayment() 보호된 메소드

protected getDebugPayment ( ) : DebugPayment
리턴 Sonata\Component\Payment\Debug\DebugPayment
    protected function getDebugPayment()
    {
        $router = $this->getMock('Symfony\\Component\\Routing\\RouterInterface');
        $client = $this->getMock('Buzz\\Client\\ClientInterface');
        $browser = new Browser($client);
        $payment = new DebugPayment($router, $browser);
        return $payment;
    }