### Question:
HeaderHelper { static String getHeaderType(String name) { if(matches(name, GENERAL_HEADERS)) { return "GeneralHeader"; } else if(matches(name, REQUEST_HEADERS)) { return "RequestHeader"; } else if(matches(name, ENTITY_HEADERS)) { return "EntityHeader"; } return "MessageHeader"; } private  HeaderHelper();   }### Answer:
@Test public void testGetHeaderType$general() throws Exception { assertThat(HeaderHelper.getHeaderType("Connection"),equalTo("GeneralHeader")); }
@Test public void testGetHeaderType$request() throws Exception { assertThat(HeaderHelper.getHeaderType("Accept"),equalTo("RequestHeader")); }
@Test public void testGetHeaderType$entity() throws Exception { assertThat(HeaderHelper.getHeaderType("Content-Type"),equalTo("EntityHeader")); }
@Test public void testGetHeaderType$message() throws Exception { assertThat(HeaderHelper.getHeaderType("Unknown"),equalTo("MessageHeader")); }