public function testThatWeCanConnectToSlaveAndInspectTheRole() { $slave = new Client('192.168.50.41', '6379', null, Client::TYPE_REDIS); $this->assertEquals(Client::ROLE_SLAVE, $slave->getRoleType(), 'The slave should be identified with that type'); $this->assertTrue($slave->isSlave(), 'Verify the slave is a slave'); }