Does anyone know how you would mock a custom validation rule with L10? I know the validate method doesn't return true/false like the L9 passes() method did so I'm trying to mock $fails argument is called. This is what I currently have. I think this is close to what I need BUT I need to make sure I'm able to set the attribute correctly however I'm not sure how to do so with this.
->shouldReceive('validate')
->withArgs(function (string $attribute, $value, $closure) {
$closure();
});```