public function testPassCredentialsOnConstruct() { $options = array('username' => 'bob', 'password' => 'monkhouse'); $ssrs = new SSRS_Report('http://test', $options); $this->assertEquals($options['username'], $ssrs->getUsername()); $this->assertEquals($options['password'], $ssrs->getPassword()); }