Test the code that validates the selector.
TypeSelector s = (TypeSelector)getInstance();
try {
s.isSelected(basedir,filenames[0],files[0]);
fail("TypeSelector did not check for required fields");
} catch (BuildException be1) {
assertEquals("The type attribute is required"
, be1.getMessage());
}