public function testSetExcludeFromIndexes()
{
$snippet = $this->snippetFromMethod(Entity::class, 'setExcludeFromIndexes');
$snippet->addLocal('entity', $this->entity);
$res = $snippet->invoke();
$this->assertEquals(['birthDate'], $this->entity->excludedProperties());
}