@SuppressWarnings({"ExpectedExceptionNeverThrown", "ProhibitedExceptionDeclared"})

@Test(expected = ProxyAwareUriBuilderFactory.HeaderMissingException.class)
public void testGetHeaderNonExistent() throws Throwable {
    LOG.info(
            "testGetHeaderNonExistent: IMPORTANT - the following test case should throw 1 exception");
    when(httpServletRequest.getHeader(HEADER_TEST_NAME_X_TEST)).thenReturn(null);
    invokeGetHeader(impl, HEADER_TEST_NAME_X_TEST);
}