/**
* Ensure that the state behaves correctly.
*/
public void testExpectParameterStartOrDeclarationsEnd() {
State state = TemplateSchema.EXPECT_PARAMETER_START_OR_DECLARATIONS_END;
checkExpects(state, TemplateSchema.PARAMETER_START,
TemplateSchema.EXPECT_PARAMETER_VALUE_START);
checkExpects(state, TemplateSchema.DECLARATIONS_END, TemplateSchema.EXPECT_BODY_START);
checkExpects(state, TemplateSchema.APPLY_START, null);