/** * @expectedException \InvalidArgumentException */ public function testSetInvalidKeyShouldThrowInvalidArgumentException() { $this->credentials->setKey(''); }