assertEquals("div", cssSelector.getElement());
assertEquals(1, cssSelector.selectorsCount());
Selector selector = cssSelector.getSelector(0);
assertEquals(Selector.Type.ATTRIBUTE, selector.getType());
AttributeSelector attributeSelector = (AttributeSelector) selector;
assertEquals("a1", attributeSelector.getName());
assertEquals("=", attributeSelector.getMatch().getSign());
assertEquals("123", attributeSelector.getValue());
lexer = new CSSelly("div[ a1 = \"123\" ]");
selectors = lexer.parse();
assertEquals("div[a1=\"123\"]", CSSelly.toString(selectors));
}