@org.junit.Test
    public void testLineFeedAfterOpening() {
        javaCode = "{{{ adasd;{sadadasda;{if(a){dasdasdasd;}{{{{{{{{{}}{{asdadsadda;{{{{}}dadasdasdasd;}}}}{{}}}}}}dadadasdad;}}}}}}}}";
        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");
        for (String currentString : strings) {
            Character currentChar = '\n';
            int j;
            for (j = 0; j < currentString.length(); j++) {
                if (currentString.charAt(j) == '{') {
                    currentChar = currentString.charAt(j);
                    break;
                }
            }
            if (currentChar == '{') {
                assert j == currentString.length() - 1;
            }
        }
    }