### Question:
InlineParser { public List<Inline> parse(ProcessingContext context, TextSegment segment) { Cursor cursor = new Cursor(segment); List<Inline> inlines = new ArrayList<>(); while (cursor.hasChar()) { consumeOne(context, inlines, cursor); } return secondPass(inlines); } InlineParser(SourceSpan... spans);  InlineParser(List<SourceSpan> spans); void emit(ProcessingContext context, DocumentBuilder builder, TextSegment textSegment); String toStringContent(ProcessingContext context, TextSegment textSegment); static void emit(DocumentBuilder builder, List<Inline> inlines); void createContext(ProcessingContextBuilder contextBuilder, TextSegment textSegment); List<Inline> parse(ProcessingContext context, TextSegment segment);  }### Answer:
@Test public void parse() { assertParse(""); assertParse("one\ntwo", new Characters(line, 0, 3, "one"), new SoftLineBreak(line, 3, 1), new Characters(line, 4, 3, "two")); assertParse("one\ntwo three", new Characters(line, 0, 3, "one"), new SoftLineBreak(line, 3, 1), new Characters(line, 4, 9, "two three")); }