How do you properly check if a model has certain relation?
For now, i am doing:
public function testRelations()
{
$model = new Property();
expect('model has user relation', method_exists($model, 'getUser'))->true();
}
I have no idea if this is correct or if this is the right way to do it.
If not, how should i go about it ?