public function canSetGrid()
{
$grid = Grid::create(array('name' => 'test'));
$record = Records::$contentRecordWithoutParentAndWithoutChildren;
$provider = $this->getConfigurationProviderInstance();
$provider->setGrid($grid);
$this->assertSame($grid, $provider->getGrid($record));
}