/**
  * @dataProvider mockProvider
  * @param PaymentForwardClient $obj
  * @param PHPUnit_Framework_MockObject_MockObject|ApiContext $mockApiContext
  * @param PHPUnit_Framework_MockObject_MockObject|BlockCypherRestCall $mockBlockCypherRestCall
  */
 public function testDelete($obj, $mockApiContext, $mockBlockCypherRestCall)
 {
     $mockBlockCypherRestCall->expects($this->any())->method('execute')->will($this->returnValue(true));
     $result = $obj->delete(PaymentForwardTest::getObject()->getId(), $mockApiContext, $mockBlockCypherRestCall);
     $this->assertNotNull($result);
 }
 /**
  * @dataProvider mockProvider
  * @param PaymentForward $obj
  */
 public function testGetAll($obj, $mockApiContext)
 {
     $mockBlockCypherRestCall = $this->getMockBuilder('\\BlockCypher\\Transport\\BlockCypherRestCall')->disableOriginalConstructor()->getMock();
     $mockBlockCypherRestCall->expects($this->any())->method('execute')->will($this->returnValue('[' . PaymentForwardTest::getJson() . ']'));
     $result = $obj->getAll(array(), $mockApiContext, $mockBlockCypherRestCall);
     $this->assertNotNull($result);
     $this->assertNotNull($result);
     $this->assertEquals($result[0], PaymentForwardTest::getObject());
 }