TestMockRules::mockAllow

Mocking the allow method.