diff --git a/tests/SetterTests.php b/tests/SetterTests.php
index <HASH>..<HASH> 100644
--- a/tests/SetterTests.php
+++ b/tests/SetterTests.php
@@ -43,8 +43,9 @@ class SetterTests extends TestCase
     {
         $stub = new ModelBaseServiceStub();
 
-        $stub->service = new BaseServiceStub();
-        $this->assertInstanceOf(BaseServiceStub::class, $stub->service);
+        $service = new BaseServiceStub();
+        $stub->service = $service;
+        $this->assertSame($service, $stub->service);
     }
 
     public function testSetUnknown(): void
test - setter - improve inspection