### Question:
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);  }### Answer:
@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)); }
@Test public void testParseInlineWithStandaloneMacro() throws Exception { when(this.mockParser.parse(any(Reader.class))).thenReturn( new XDOM(Arrays.<Block>asList(new MacroBlock("macro", Collections.EMPTY_MAP, null, false)))); Assert.assertEquals( new XDOM(Arrays.<Block>asList(new MacroBlock("macro", Collections.EMPTY_MAP, null, true))), this.macroContentParser.parse("content", this.macroContext, false, true)); }