@Test
public void firstWordFromLineWithWords() throws Exception {

    List<ParsedWord> words = new ArrayList<>();
    words.add(new ParsedWord("command", 0));
    words.add(new ParsedWord("line", 1));
    words.add(new ParsedWord("text", 2));
    ParsedLine pl = new ParsedLine("command line text", words, -1,
            0, 0, ParserStatus.OK, "", OperatorType.NONE);
    assertEquals(pl.firstWord().word(), "command");
}