Skip to content

Commit

Permalink
testGetNewAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
phramz committed Jul 6, 2013
1 parent d8f3088 commit 076eeec
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/Phramz/Bitcoin/Api/Test/BitcoindClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,12 @@ public function testListAccounts()

$this->assertEquals($this->fixture['result'], $test->listAccounts());
}

public function testGetNewAddress()
{
$test = new BitcoindClient($this->connection);
$this->setUpFixture('response_getnewaddress');

$this->assertEquals($this->fixture['result'], $test->getNewAddress());
}
}

0 comments on commit 076eeec

Please sign in to comment.