public function testThatAfterASuccessfullConnectionTheSentinelsKnowsTheirConnectionState() { $sentinelNode = new Client($this->ipAddress, $this->port, $this->mockOnlineClientAdapter()); $sentinelNode->connect(); $this->assertTrue($sentinelNode->isConnected(), 'After a successfull connection attempt, the connection state is bool(true)'); }