integration test for method-level controller Restrict