/**
* Ensure that the state behaves correctly.
*/
public void testExpectDeclarationsOrBodyStart() {
State state = TemplateSchema.EXPECT_DECLARATIONS_OR_BODY_START;
checkExpects(state, TemplateSchema.DECLARATIONS_START,
TemplateSchema.EXPECT_PARAMETER_START_OR_DECLARATIONS_END);
checkExpects(state, TemplateSchema.BODY_START, TemplateSchema.EXPECT_BODY_END);
checkExpects(state, TemplateSchema.APPLY_START, null);