create([]); $relationshipType = factory('App\RelationshipType')->create([ 'account_id' => $account->id, ]); $this->assertTrue($relationshipType->account()->exists()); } }