Update BaseInputFilterTest.php

Moved the expected exception assertion from annotation to method body