What type of diagnostic testing will the dentist perform to determine the type of endodontic treatment required?