PayPal\Test\Api\InvoiceTest::testRemind PHP Method

testRemind() public method

public testRemind ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice
    public function testRemind($obj, $mockApiContext)
    {
        $mockPayPalRestCall = $this->getMockBuilder('\\PayPal\\Transport\\PayPalRestCall')->disableOriginalConstructor()->getMock();
        $mockPayPalRestCall->expects($this->any())->method('execute')->will($this->returnValue(true));
        $notification = NotificationTest::getObject();
        $result = $obj->remind($notification, $mockApiContext, $mockPayPalRestCall);
        $this->assertNotNull($result);
    }