/** * @covers ::__construct * @covers ::getEndpoint * @covers ::getClient */ public function testConstruction() { $client = new Client('key', 'secret'); $message = new Message('http://www.example.com/', $client); $this->assertEquals('http://www.example.com/', $message->getEndpoint()); $this->assertSame($client, $message->getClient()); }