Preserve the ID.'; $expect[1] = $inputs[1]; $inputs[2] = '
Kill the ID.
'; $expect[2] = '
Kill the ID.
'; // test accumulator $inputs[3] = '
Valid
Invalid
'; $expect[3] = '
Valid
Invalid
'; $inputs[4] = 'Bad dir.'; $expect[4] = 'Bad dir.'; // test case sensitivity $inputs[5] = '
Convert ID to lowercase.
'; $expect[5] = '
Convert ID to lowercase.
'; // test simple attribute substitution $inputs[6] = '
Trim whitespace.
'; $expect[6] = '
Trim whitespace.
'; $this->assertStrategyWorks($strategy, $inputs, $expect); } } ?>