public boolean hasSameNameAs(Header header) {
        AssertParameter.notNull(header, Header.class);
        return this.name.equalsIgnoreCase(header.getName());
    }
@Test
  public void header_has_same_name_as_expected() {
    final Header header1 = new Header("foo", "bar");
    final Header header2 = new Header("Foo", "baz");

    assertThat(header2.hasSameNameAs(header1)).isTrue();
  }