public function canGetForm()
{
$provider = $this->getConfigurationProviderInstance();
$paths = new TemplatePaths(array('templateRootPaths' => array(__DIR__ . '/../../Fixtures/Templates/'), 'partialRootPaths' => array(__DIR__ . '/../../Fixtures/Partials/'), 'layoutRootPaths' => array(__DIR__ . '/../../Fixtures/Layouts/')));
$record = $this->getBasicRecord();
$context = $provider->getViewContext($record);
$context->setSectionName('Configuration');
$context->setPackageName('FluidTYPO3.Flux');
$context->setTemplatePaths($paths);
$context->setTemplatePathAndFilename($this->getAbsoluteFixtureTemplatePathAndFilename(self::FIXTURE_TEMPLATE_PREVIEW));
$provider->setViewContext($context);
$form = $provider->getForm($record);
$this->assertInstanceOf('FluidTYPO3\\Flux\\Form', $form);
}