The method is not invoked. It seems to me as this test doesn't test anything. Either you can find a way to test the validator (there are ways to do it), or you just remove the test. It's up to you.