The court erred in ordering DNA testing without first conducting a hearing to determine whether DNA testing would be in the child's best interests ( see Family Ct Act § 532 [a]; Matter of Shondel J. v Mark D., 7 NY3d 320, 329-330; Matter of Darlene L.-B. v Claudio B., 27 AD3d 564). We find the existing record too fragmentary to permit the conclusion that DNA testing would not be in the child's best interests.