Пример #1
0
 /**
  * @dataProvider mockProvider
  * @param HDWallet $obj
  * @param $mockApiContext
  */
 public function testDelete($obj, $mockApiContext)
 {
     $mockBlockCypherRestCall = $this->getMockBuilder('\\BlockCypher\\Transport\\BlockCypherRestCall')->disableOriginalConstructor()->getMock();
     $mockBlockCypherRestCall->expects($this->any())->method('execute')->will($this->returnValue(true));
     /** @noinspection PhpParamsInspection */
     $result = $obj->delete(array(), $mockApiContext, $mockBlockCypherRestCall);
     $this->assertNotNull($result);
 }