@Ignore("DEX-1801: Fix Mockito Problem in Release TeamCity Job")
@Test
public void encodeMapQueryParam_mapOfStringToBoolean() {

    String prefix = "definedTags Exists.";
    String keyName1 = "tagMustExist";
    String keyName2 = "tagMust NotExist";
    Map<String, Boolean> definedTagsExists = ImmutableMap.of(keyName1, true, keyName2, false);
    WebTarget target = mock(WebTarget.class);
    when(target.queryParam(anyString(), any())).thenReturn(target);
    WrappedWebTarget wrapped = new WrappedWebTarget(target);
    WrappedWebTarget result = HttpUtils.encodeMapQueryParam(wrapped, prefix, definedTagsExists);
    assertNotNull(result);
    String prefixEncoded = "definedTags%20Exists.";
    String keyName2Encoded = "tagMust%20NotExist";
    verify(target).queryParam(prefixEncoded + keyName1, true);
    verify(target).queryParam(prefixEncoded + keyName2Encoded, false);
}