Fixed doc test. Refs #9719.