public function testShouldNotGetCurrentWhenCursorIsInvalid()
{
// Arrange
$items = [];
$cursor = $this->getCursor(stdClass::class, $items);
$this->setProtected($cursor, 'position', 1);
// Assert
$entity = $cursor->current();
$this->assertNull($entity);
}