public function testThatWeCanGetTheClientAdapter() { $onlineClientAdapter = $this->mockOnlineClientAdapter(); $sentinelNode = new Client($this->ipAddress, $this->port, $onlineClientAdapter); $this->assertEquals($onlineClientAdapter, $sentinelNode->getClientAdapter(), 'A sentinel can return the client adapter'); }