@Test(expected = IllegalArgumentException.class)
 public void cannotCheckAttributeByNullName() {
   element.hasAttr(null);
 }
 @Test
 public void canCheckAttributeByNonExistingName() {
   boolean hasAttribute = element.hasAttr(NON_EXISTING);
   assertThat(hasAttribute).isFalse();
 }
 @Test
 public void canRemoveAttributeByNonExistingName() {
   element.removeAttr(NON_EXISTING);
   assertThat(element.hasAttr(NON_EXISTING)).isFalse();
 }
 @Test
 public void canCheckAttributeByName() {
   boolean hasAttribute = element.hasAttr("order");
   assertThat(hasAttribute).isTrue();
 }
 @Test
 public void canRemoveAttributeByName() {
   element.removeAttr("order");
   assertThat(element.hasAttr("order")).isFalse();
 }