public function account() { if (null === $this->accountClient) { $this->accountClient = $this->restAdapter->create('Tebru\\Stripe\\Client\\AccountClient'); } return $this->accountClient; }
/** * @expectedException \Tebru\Retrofit\Exception\RetrofitException */ public function testWillThrowExceptionOnInvalidClass() { $this->adapter->create('Foo'); }