Use a more correct and descriptive name for the parameter.
Add unit test for the isValid method from the class ExtDirectMethodType