Final resolution of a contested matter can be accomplished through a hearing or even a trial, after reasonable notice to and service on interested parties. A contested matter can involve discovery in accordance with many of the Federal Rules of Civil Procedure, made applicable to contested matters by Rule 9014(c) of the Federal Rules of Bankruptcy Procedure.