public function testHasGet()
 {
     $id = 'foo';
     $data = ['test' => 'test'];
     $this->assertFalse($this->documentStore->has($this->mongoCollection, $id));
     $this->assertNull($this->documentStore->get($this->mongoCollection, $id));
     $reflClass = new \ReflectionClass($this->documentStore);
     $saveMethod = $reflClass->getMethod('save');
     $saveMethod->setAccessible(true);
     $saveMethod->invoke($this->documentStore, $this->mongoCollection, $id, $data);
     $this->assertTrue($this->documentStore->has($this->mongoCollection, $id));
     $this->assertSame($data, $this->documentStore->get($this->mongoCollection, $id));
     $this->assertFalse($this->documentStore->has($this->mongoCollection, 'baz'));
     $reflClass = new \ReflectionClass($this->documentStore);
     $saveMethod = $reflClass->getMethod('remove');
     $saveMethod->setAccessible(true);
     $saveMethod->invoke($this->documentStore, $this->mongoCollection, $id);
     $this->assertFalse($this->documentStore->has($this->mongoCollection, $id));
     $this->assertNull($this->documentStore->get($this->mongoCollection, $id));
 }