@Test
public void basicAuthShouldReturnABasicAuthReadyCRestBuilder(){

    CRestBuilder expected = mock(CRestBuilder.class);
    when(builder.basicAuth("a","b")).thenReturn(expected);
    assertSame(expected, CRest.basicAuth("a","b"));
    verify(builder).basicAuth("a","b");
    verifyNoMoreInteractions(builder);
}