Implemented draft for PureSourceCreateType Test and adapted classes to it

This commit is contained in:
Kevin Frantz
2019-02-13 18:03:25 +01:00
parent aafde4c0f9
commit 1bc85c994e
14 changed files with 93 additions and 22 deletions

View File

@@ -22,8 +22,7 @@ class AbstractEntityTest extends TestCase
public function testConstructor(): void
{
$this->assertEquals(0, $this->entity->getVersion());
$this->expectException(\TypeError::class);
$this->entity->getId();
$this->assertNull($this->entity->getId());
}
public function testVersion(): void