@Test public void testParseInline() throws Exception { when(this.mockParser.parse(any(Reader.class))).thenReturn( new XDOM(Arrays.<Block>asList(new ParagraphBlock(Arrays.<Block>asList(new WordBlock("word")))))); Assert.assertEquals(new XDOM(Arrays.<Block>asList(new WordBlock("word"))), this.macroContentParser.parse("content", this.macroContext, false, true)); }
@Override public XDOM parse(String content, MacroTransformationContext macroContext, boolean transform, boolean inline) throws MacroExecutionException { return parse(content, macroContext, transform, null, inline); }
DefaultMacroContentParser implements MacroContentParser { @Override public XDOM parse(String content, MacroTransformationContext macroContext, boolean transform, boolean inline) throws MacroExecutionException { return parse(content, macroContext, transform, null, inline); } }
DefaultMacroContentParser implements MacroContentParser { @Override public XDOM parse(String content, MacroTransformationContext macroContext, boolean transform, boolean inline) throws MacroExecutionException { return parse(content, macroContext, transform, null, inline); }  }
DefaultMacroContentParser implements MacroContentParser { @Override public XDOM parse(String content, MacroTransformationContext macroContext, boolean transform, boolean inline) throws MacroExecutionException { return parse(content, macroContext, transform, null, inline); }  @Override XDOM parse(String content, MacroTransformationContext macroContext, boolean transform, boolean inline); @Override XDOM parse(String content, MacroTransformationContext macroContext, boolean transform, MetaData metadata,
        boolean inline); @Override Syntax getCurrentSyntax(MacroTransformationContext context); }
DefaultMacroContentParser implements MacroContentParser { @Override public XDOM parse(String content, MacroTransformationContext macroContext, boolean transform, boolean inline) throws MacroExecutionException { return parse(content, macroContext, transform, null, inline); }  @Override XDOM parse(String content, MacroTransformationContext macroContext, boolean transform, boolean inline); @Override XDOM parse(String content, MacroTransformationContext macroContext, boolean transform, MetaData metadata,
        boolean inline); @Override Syntax getCurrentSyntax(MacroTransformationContext context);  }