Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
W0rma committed Aug 7, 2023
1 parent 5b9253c commit 6153a58
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/StubTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,6 @@ public function testStubMakeEmptyInterface()
$stub = Stub::makeEmpty(Countable::class, ['count' => 5]);
$this->assertEquals(5, $stub->count());
}

private function assertObjectHasProperty(string $propertyName, object $object): void
{
$hasProperty = (new ReflectionObject($object))->hasProperty($propertyName);
$this->assertTrue($hasProperty, sprintf("Object has no attribute %s", $propertyName));
}
}

class MyClassWithPrivateProperties
Expand Down

0 comments on commit 6153a58

Please sign in to comment.