@Test
public void findCookieTest() {

    Cookie[] cookies = null;
    String cookieName = null;
    // null test
    assertNull(HttpUtils.findCookie(cookies, cookieName));
    cookieName = "";
    assertNull(HttpUtils.findCookie(cookies, cookieName));
    // value test
    cookieName = "daakuBandar";
    cookies = new Cookie[]{new Cookie(cookieName, "someValue")};
    assertNull(HttpUtils.findCookie(cookies, "aalasiLangur"));
    assertNotNull(HttpUtils.findCookie(cookies, cookieName));
}