@Test
public void testExecutePostWithBasicAuth()
{

    final String url = "https://api.github.com/authorizations";
    HttpResponse httpResponse = HttpUtil.executePostWithBasicAuth( url, "userName", "password" );
    assertNotNull( httpResponse );
    StatusLine statusLine = httpResponse.getStatusLine();
    assertNotNull( statusLine );
    assertTrue( statusLine.getStatusCode() == HttpStatus.SC_UNAUTHORIZED );
}