@org.junit.Test
    public void testSpacesAroundOperations() {
        javaCode = "{{{{a+b=3;{{{{{{+++{{{{&&}}{{{int a=3-f;{{{!}||}}}}**a}{{}}}---}}}!!}}}/}}}}}";
        FormatOptions formatOptions = new FormatOptions();
        try {
            makeTest(formatOptions);
        } catch (Exception ex) {
            if (logger.isEnabledFor(Level.ERROR)) {
                logger.error(ex.getMessage());
            }
            assert false;
        }
        String[] strings = formattedCode.split("\n");
        Set<Character> operations = new TreeSet<>();
        operations.add('+');
        operations.add('-');
        operations.add('=');
        operations.add('*');
        operations.add('&');
        operations.add('|');
        operations.add('!');
        for (String currentString : strings) {
            int j;
            for (j = 0; j < currentString.length(); j++) {
                if (operations.contains(currentString.charAt(j))) {
                    assert (currentString.charAt(j - 1) == ' ' && currentString.charAt(j + 1) == ' ');
                    assert currentString.charAt(j + 2) != ' ';
                }
            }
        }
    }