Transhepatic cholangiography is a test that can demonstrate choledocholithiasis, which is the presence of stones in the common bile duct. This test involves injecting a contrast dye into the bile ducts, which helps visualize any blockages or abnormalities. By using X-rays, the radiologist can identify the presence of stones in the bile ducts, confirming the diagnosis of choledocholithiasis. The other options, such as barium enema, gastric intubation, upper GI series, and gastric endoscopy, are not specific for evaluating the bile ducts and would not be able to demonstrate choledocholithiasis.