use of org.commonmark.ext.gfm.tables.TableBlock in project hippo by NHS-digital-website.
the class ThematicBreakAttributeProviderTest method ignoresElementOtherThanThematicBreak.
@Test
public void ignoresElementOtherThanThematicBreak() {
// given
final Node nodeOtherThanThematicBreak = new TableBlock();
// when
thematicBreakAttributeProvider.setAttributes(nodeOtherThanThematicBreak, "tagName is ignored", attributes);
// then
then(attributes).shouldHaveZeroInteractions();
}
use of org.commonmark.ext.gfm.tables.TableBlock in project hippo by NHS-digital-website.
the class CodeAttributeProviderTest method ignoresElementOtherThanCode.
@Test
public void ignoresElementOtherThanCode() {
// given
final Node nodeOtherThanCode = new TableBlock();
// when
codeAttributeProvider.setAttributes(nodeOtherThanCode, "tagName is ignored", attributes);
// then
then(attributes).shouldHaveZeroInteractions();
}
use of org.commonmark.ext.gfm.tables.TableBlock in project hippo by NHS-digital-website.
the class HyperlinkAttributeProviderTest method ignoresElementOtherThanLink.
@Test
public void ignoresElementOtherThanLink() {
// given
final Node nodeOtherThanLink = new TableBlock();
// when
hyperlinkAttributeProvider.setAttributes(nodeOtherThanLink, "tagName is ignored", attributes);
// then
then(attributes).shouldHaveZeroInteractions();
}
Aggregations