@@ -0,0 +1,1845 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.%0A// Licensed under the MIT License.%0A%0Apackage com.microsoft.aad.msal4j;%0A%0Aimport org.testng.Assert;%0Aimport org.testng.annotations.Test;%0A%0Aimport java.util.Arrays;%0Aimport java.util.Collections;%0Aimport java.util.HashMap;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0A@Test(groups = %7B %22checkin%22 %7D)%0Apublic class HttpUtilsTest %7B%0A%0A    private final String COOKIE_HEADER_NAME = %22Set-Cookie%22;%0A    private final String COOKIE_HEADER_VALUE_1 = %22298zf09hf012fh2%22;%0A    private final String COOKIE_HEADER_VALUE_2 = %22u32t4o3tb3gg43%22;%0A%0A    @Test%0A    public void testHttpUtils_singleValueHeader()%7B%0A%0A        Map%3CString, List%3CString%3E%3E singleValuedHeader = new HashMap%3CString, List%3CString%3E%3E()%7B%7B%0A            put(COOKIE_HEADER_NAME, Collections.singletonList(COOKIE_HEADER_VALUE_1));%0A        %7D%7D;%0A%0A        String headerValue = HttpUtils.headerValue(singleValuedHeader, COOKIE_HEADER_NAME);%0A        Assert.assertEquals(headerValue, COOKIE_HEADER_VALUE_1);%0A    %7D%0A%0A    @Test%0A    public void testHttpUtils_multiValueHeader()%7B%0A%0A        Map%3CString, List%3CString%3E%3E multiValuedHeader = new HashMap%3CString, List%3CString%3E%3E()%7B%7B%0A            put(COOKIE_HEADER_NAME, Arrays.asList(COOKIE_HEADER_VALUE_1, COOKIE_HEADER_VALUE_2));%0A        %7D%7D;%0A%0A        String headerValue = HttpUtils.headerValue(multiValuedHeader, COOKIE_HEADER_NAME);%0A        String expectedValue = COOKIE_HEADER_VALUE_1 + %22,%22 + COOKIE_HEADER_VALUE_2;%0A        Assert.assertEquals(headerValue, expectedValue);%0A    %7D%0A%0A    @Test%0A    public void testHttpUtils_HeaderValueNull()%7B%0A%0A        Map%3CString, List%3CString%3E%3E nullValuedHeader = new HashMap%3CString, List%3CString%3E%3E()%7B%7B%0A            put(COOKIE_HEADER_NAME, null);%0A        %7D%7D;%0A%0A        String headerValue = HttpUtils.headerValue(nullValuedHeader, COOKIE_HEADER_NAME);%0A        Assert.assertNull(headerValue);%0A    %7D%0A%7D%0A

Add unit test for HttpUtils