use of org.commonmark.node.BulletList in project hippo by NHS-digital-website.
the class ListAttributeProviderTest method setsCssClassOnBulletListElement.
@Test
public void setsCssClassOnBulletListElement() {
// given
final Node nodeBulletList = new BulletList();
// when
listAttributeProvider.setAttributes(nodeBulletList, "tagName is ignored", attributes);
// then
then(attributes).should().put("class", "nhsd-t-list nhsd-t-list--bullet");
then(attributes).shouldHaveNoMoreInteractions();
}
Aggregations