makeTestData(); } public function testAssignedUserRelationExists() { foreach ($this->models as $model) { $class = new $model(); $this->assertTrue(method_exists($class, 'assigned_user')); } } }