public function testHttpAdapter() { $httpAdapter = $this->getMock('Widop\\HttpAdapter\\HttpAdapterInterface'); $this->oauth->setHttpAdapter($httpAdapter); $this->assertSame($httpAdapter, $this->oauth->getHttpAdapter()); }