A "motion for summary judgment" asks the court to decide that the available evidence, even if taken in the light most favorable to the non-moving party, supports a ruling in favor of the moving party. This motion is usually only made when sufficient time for discovering all evidence has expired. For summary judgment to be granted in most jurisdictions, a two-part standard must be satisfied: (i) no genuine issue of material fact can be in dispute between the parties, and (ii) the moving party must be entitled to judgment as a matter of law. For example, a claim that a doctor engaged in malpractice by prescribing a drug could result in summary judgment if the plaintiff failed to obtain expert testimony indicating that the drug was improperly prescribed. Motions to dismiss and motions for summary judgment are types of dispositive motions.