public function testUnneededFetch()
 {
     $response = $this->createEmptyResponseMock();
     $cursor = new Cursor($response, $this->objectPrototype);
     $this->assertNull($cursor->createBeforeRequest());
     $this->assertNull($cursor->createAfterRequest());
     // Reset for proper fetching
     $response = $this->createEmptyResponseMock();
     $cursor = new Cursor($response, $this->objectPrototype);
     $length = $cursor->count();
     $cursor->fetchBefore();
     $this->assertEquals($length, $cursor->count());
     $cursor->fetchAfter();
     $this->assertEquals($length, $cursor->count());
 }