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