diff --git a/tests/Models/NullAccountRelationTest.php b/tests/Models/NullAccountRelationTest.php new file mode 100644 index 0000000..15687e8 --- /dev/null +++ b/tests/Models/NullAccountRelationTest.php @@ -0,0 +1,52 @@ +getId()); + } + + /** + * @covers Modules\Tasks\Models\NullAccountRelation + * @group framework + */ + public function testJsonSerialize() : void + { + $null = new NullAccountRelation(2); + self::assertEquals(['id' => 2], $null); + } +} diff --git a/tests/Models/NullGroupRelationTest.php b/tests/Models/NullGroupRelationTest.php new file mode 100644 index 0000000..da92fdd --- /dev/null +++ b/tests/Models/NullGroupRelationTest.php @@ -0,0 +1,52 @@ +getId()); + } + + /** + * @covers Modules\Tasks\Models\NullGroupRelation + * @group framework + */ + public function testJsonSerialize() : void + { + $null = new NullGroupRelation(2); + self::assertEquals(['id' => 2], $null); + } +} diff --git a/tests/Models/NullTaskAttributeTest.php b/tests/Models/NullTaskAttributeTest.php new file mode 100644 index 0000000..38a6f65 --- /dev/null +++ b/tests/Models/NullTaskAttributeTest.php @@ -0,0 +1,52 @@ +getId()); + } + + /** + * @covers Modules\Tasks\Models\NullTaskAttribute + * @group framework + */ + public function testJsonSerialize() : void + { + $null = new NullTaskAttribute(2); + self::assertEquals(['id' => 2], $null); + } +} diff --git a/tests/Models/NullTaskAttributeTypeTest.php b/tests/Models/NullTaskAttributeTypeTest.php new file mode 100644 index 0000000..e533700 --- /dev/null +++ b/tests/Models/NullTaskAttributeTypeTest.php @@ -0,0 +1,52 @@ +getId()); + } + + /** + * @covers Modules\Tasks\Models\NullTaskAttributeType + * @group framework + */ + public function testJsonSerialize() : void + { + $null = new NullTaskAttributeType(2); + self::assertEquals(['id' => 2], $null); + } +} diff --git a/tests/Models/NullTaskAttributeValueTest.php b/tests/Models/NullTaskAttributeValueTest.php new file mode 100644 index 0000000..422d3cc --- /dev/null +++ b/tests/Models/NullTaskAttributeValueTest.php @@ -0,0 +1,52 @@ +getId()); + } + + /** + * @covers Modules\Tasks\Models\NullTaskAttributeValue + * @group framework + */ + public function testJsonSerialize() : void + { + $null = new NullTaskAttributeValue(2); + self::assertEquals(['id' => 2], $null); + } +} diff --git a/tests/Models/NullTaskSeenTest.php b/tests/Models/NullTaskSeenTest.php new file mode 100644 index 0000000..b38c9d5 --- /dev/null +++ b/tests/Models/NullTaskSeenTest.php @@ -0,0 +1,52 @@ +getId()); + } + + /** + * @covers Modules\Tasks\Models\NullTaskSeen + * @group framework + */ + public function testJsonSerialize() : void + { + $null = new NullTaskSeen(2); + self::assertEquals(['id' => 2], $null); + } +}