If no executor has been named in the testament, or if the one named is dead, disqualified, or declines the trust, on its own motion or on motion of any interested party, the court shall appoint a dative testamentary executor, in the manner provided for the appointment of an administrator of an intestate succession.