public function testShouldGetCacheBackendThroughReflectionSetter()
{
$object = new Redis(['host' => TEST_RS_HOST]);
$mock = $this->getMock(CacheBackend::class, [], [], '', false);
$reflectedProperty = new ReflectionProperty(get_class($object), 'redis');
$reflectedProperty->setAccessible(true);
$reflectedProperty->setValue($object, $mock);
$reflectedMethod = new ReflectionMethod(get_class($object), 'getCacheBackend');
$reflectedMethod->setAccessible(true);
$this->assertInstanceOf(CacheBackend::class, $reflectedMethod->invoke($object));
}