Skip to content

Instantly share code, notes, and snippets.

@alexlehm
Created May 24, 2016 23:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexlehm/ed63f52a011cc7bfb5549f592413e42d to your computer and use it in GitHub Desktop.
Save alexlehm/ed63f52a011cc7bfb5549f592413e42d to your computer and use it in GitHub Desktop.
import org.junit.Test;
import static org.junit.Assert.*;
import io.vertx.core.http.CaseInsensitiveHeaders;
/**
* @author <a href="http://oss.lehmann.cx/">Alexander Lehmann</a>
*
*/
public class CaseInsensitiveHeadersTest {
@Test
public void test() {
CaseInsensitiveHeaders headers1 = new CaseInsensitiveHeaders();
CaseInsensitiveHeaders headers2 = new CaseInsensitiveHeaders();
headers1.add("a", "b");
headers2.add("a", "b");
assertEquals(headers1, headers2);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment