/**
  * @depends testSetEntity
  */
 public function getTemplateForm(Collection $collection)
 {
     $this->collectionContainer->setEntity($collection);
     $form = $this->collectionContainer->getTemplateForm();
     $this->assertInstanceOf(CoreForm::class, $form);
     $this->assertNull($form->getObject());
     $this->assertContains(CollectionContainer::NEW_ENTRY, $form->getAttribute('action'));
 }