getMethod argument validation
And the test