Switch this object to the next state appropriate for generating a specification valid for formatters format method and generate specification based on the new state.
format
Declared in <bslfmt_testspecificationgenerator.h>
<bslfmt_testspecificationgenerator.h>
bool nextValidForFormat();