blob: 253857f0d1e4b6ea5b103f88504ff201b5775e9a [file] [log] [blame]
/*
* See LICENSE file in distribution for copyright and licensing information.
*/
package org.yaml.snakeyaml.tokens;
import junit.framework.TestCase;
import org.yaml.snakeyaml.error.Mark;
public class DocumentStartTokenTest extends TestCase {
public void testGetTokenId() {
Mark mark = new Mark("test1", 0, 0, 0, "*The first line.\nThe last line.", 0);
DocumentStartToken token = new DocumentStartToken(mark, mark);
assertEquals("<document start>", token.getTokenId());
}
}