public function throwIfSandboxOptionNotSetInConstructor() { new Api(array('username' => 'a_username', 'password' => 'a_password', 'signature' => 'a_signature'), $this->createHttpClientMock(), $this->createHttpMessageFactory()); }