    @Test
    public void shouldAcceptOperationChainWhenUserHasAllOpAuths() {

        // Given
        final OperationAuthoriser hook = fromJson(OP_AUTHS_PATH);
        final OperationChain opChain = new OperationChain.Builder()
                .first(new GetElements())
                .then(new GenerateObjects<>())
                .then(new DiscardOutput())
                .then(new TestOperationsImpl(Collections.singletonList(new Sort())))
                .build();
        final User user = new User.Builder()
                .opAuths("SuperUser", "ReadUser", "User")
                .build();

        // When
        hook.preExecute(opChain, new Context(user));

        // Then - no exceptions
    }