Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class api
- {
- private $key;
- private $secret;
- public function __construct($key, $secret)
- {
- $this->key = $key;
- $this->secret = $secret;
- }
- }
- public function test_api_keys_are_set_on_initialization()
- {
- $this->assertNotEmpty($this->api->key);
- $this->assertNotEmpty($this->api->secret);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement