diff --git a/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php b/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php index 4a6c97c..5643214 100644 --- a/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php +++ b/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php @@ -66,6 +66,16 @@ final class TeaRepositoryTest extends FunctionalTestCase self::assertSame(2, $result->current()->getUid()); } + /** + * @test + */ + public function findByUidForInexistentRecordReturnsNull(): void + { + $model = $this->subject->findByUid(1); + + self::assertNull($model); + } + /** * @test */