Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <?php
  2.  
  3. class api
  4. {
  5. private $key;
  6. private $secret;
  7.  
  8. public function __construct($key, $secret)
  9. {
  10. $this->key = $key;
  11. $this->secret = $secret;
  12. }
  13. }
  14.  
  15. public function test_api_keys_are_set_on_initialization()
  16. {
  17. $this->assertNotEmpty($this->api->key);
  18. $this->assertNotEmpty($this->api->secret);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement