def __init__(
            self,  # pylint: disable=too-many-arguments
            user,
            district_factory=None,
            subdistrict_factory=None,
            sporg_factory=None,
            unit_factory=None,
            organization_persister=None):
        self.user = user

        if district_factory:
            self.district_factory = district_factory
        else:
            self.district_factory = District.Factory()
        if subdistrict_factory:
            self.subdistrict_factory = subdistrict_factory
        else:
            self.subdistrict_factory = Subdistrict.Factory()
        if sporg_factory:
            self.sporg_factory = sporg_factory
        else:
            self.sporg_factory = SponsoringOrganization.Factory()
        if unit_factory:
            self.unit_factory = unit_factory
        else:
            self.unit_factory = Unit.Factory()
        if organization_persister:
            self.organization_persister = organization_persister
        else:
            self.organization_persister = Organization.Persister()
    def __init__(self,
                 district_factory=None,
                 subdistrict_factory=None,
                 sporg_factory=None):
        if district_factory:
            self.district_factory = district_factory
        else:
            self.district_factory = District.Factory()

        if subdistrict_factory:
            self.subdistrict_factory = subdistrict_factory
        else:
            self.subdistrict_factory = Subdistrict.Factory()

        if sporg_factory:
            self.sporg_factory = sporg_factory
        else:
            self.sporg_factory = SponsoringOrganization.Factory()