@Test(expected = IllegalArgumentException.class)
public void it_should_throw_exception_when_name_is_null() {

  HeaderTemplate.create(null, Collections.singletonList("test"));
  exception.expectMessage("name is required.");
}