apply method
Applies the operation selected by the registry's api.mocks key.
Implementation
Future<void> apply(OperationInput input) async {
session.policy.ensurePrivilegedOperationPermitted('mocks');
_apply(TestMockOperations.decode(input));
}