We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b9253c commit 6153a58Copy full SHA for 6153a58
tests/StubTest.php
@@ -387,12 +387,6 @@ public function testStubMakeEmptyInterface()
387
$stub = Stub::makeEmpty(Countable::class, ['count' => 5]);
388
$this->assertEquals(5, $stub->count());
389
}
390
-
391
- private function assertObjectHasProperty(string $propertyName, object $object): void
392
- {
393
- $hasProperty = (new ReflectionObject($object))->hasProperty($propertyName);
394
- $this->assertTrue($hasProperty, sprintf("Object has no attribute %s", $propertyName));
395
- }
396
397
398
class MyClassWithPrivateProperties
0 commit comments