Issue #3311214 by jibran, Anchal_gupta: Replace TestClass with anonymous class in the RecursiveContextualValidatorTest
mentioned in commit 2f58ef65
mentioned in commit 9c8bdd9b