feat: adds not->toHavePrivateMethods and related

This commit is contained in:
Nuno Maduro
2024-09-04 11:18:41 +01:00
parent a021b5b8c3
commit e6823679dd
7 changed files with 53 additions and 5 deletions

View File

@ -8,5 +8,5 @@ test('pass', function () {
});
test('failures', function () {
expect(UserController::class)->not->toHavePrivateMethodsBesides([]);
expect(UserController::class)->not->toHavePrivateMethods();
})->throws(ArchExpectationFailedException::class);