/**
  * @dataProvider kvsProvider
  *
  * @param KeyValueStore $kvs
  * @param ReplicatorAdapter $rep
  * @param MemoryAdapter $srcMem
  * @param MemoryAdapter $repMem
  */
 public function testSet(KeyValueStore $kvs, ReplicatorAdapter $rep, MemoryAdapter $srcMem, MemoryAdapter $repMem)
 {
     $this->assertTrue($kvs->set('key', 5));
     $this->assertEquals(5, $kvs->get('key'));
     $this->assertEquals(5, $repMem->get('key'));
 }
 /**
  * @dataProvider kvsProvider
  *
  * @param KeyValueStore $kvs
  * @param MemoryAdapter $memoryAdapter
  */
 public function testInstantiation(KeyValueStore $kvs, MemoryAdapter $memoryAdapter)
 {
     $this->assertNull($memoryAdapter->getClient());
 }