Optimized FormMeta and Tests

This commit is contained in:
Kevin Frantz
2018-11-23 16:50:37 +01:00
parent 2009f1b691
commit 926eb0c3fb
6 changed files with 59 additions and 9 deletions

View File

@@ -9,6 +9,7 @@ use App\Domain\SourceManagement\SourceMeta;
use App\Entity\Source\Complex\UserSourceInterface;
use App\Domain\TemplateManagement\TemplateMetaInterface;
use App\Entity\Source\SourceInterface;
use App\Domain\FormManagement\FormMetaInterface;
class SourceMetaTest extends TestCase
{
@@ -73,4 +74,9 @@ class SourceMetaTest extends TestCase
{
$this->assertEquals($this->source, $this->sourceMeta->getSource());
}
public function testFormMeta(): void
{
$this->assertInstanceOf(FormMetaInterface::class, $this->sourceMeta->getFormMeta());
}
}