test_class.declarator: cookieHeaderDelegate
test_class.modifier: private
test_class.original_string: private CookieHeaderDelegate cookieHeaderDelegate;
test_class.type: CookieHeaderDelegate
test_class.var_name: cookieHeaderDelegate
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/header/CookieHeaderDelegateTest.java
test_class.identifier: CookieHeaderDelegateTest
test_case.body: @Test(expected = IllegalArgumentException.class)
      public void throwsExceptionWhenCookieIsNull() throws Exception {
          cookieHeaderDelegate.toString(null);
      }
test_case.class_method_signature: CookieHeaderDelegateTest.throwsExceptionWhenCookieIsNull()
test_case.full_signature: @Test(expected = IllegalArgumentException.class) public void throwsExceptionWhenCookieIsNull()
test_case.identifier: throwsExceptionWhenCookieIsNull
test_case.invocations: toString
test_case.modifiers: @Test(expected = IllegalArgumentException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void throwsExceptionWhenCookieIsNull()
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/header/CookieHeaderDelegate.java
focal_class.identifier: CookieHeaderDelegate
focal_class.interfaces: implements RuntimeDelegate.HeaderDelegate<Cookie>
focal_class.class_method_signature: CookieHeaderDelegate.fromString(String header)
focal_class.full_signature: @Override public Cookie fromString(String header)
focal_class.identifier: fromString
focal_class.modifiers: @Override public
focal_class.parameters: (String header)
focal_class.return: Cookie
focal_class.signature: Cookie fromString(String header)
focal_class.class_method_signature: CookieHeaderDelegate.toString(Cookie cookie)
focal_class.full_signature: @Override public String toString(Cookie cookie)
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: (Cookie cookie)
focal_class.return: String
focal_class.signature: String toString(Cookie cookie)
focal_method.body: @Override
      public String toString(Cookie cookie) {
          if (cookie == null) {
              throw new IllegalArgumentException();
          }
          StringBuilder sb = new StringBuilder();
  
          sb.append("$Version=").append(cookie.getVersion()).append(';');
  
          sb.append(cookie.getName()).append('=').append(addQuotesIfHasWhitespace(cookie.getValue()));
  
          if (cookie.getDomain() != null) {
              sb.append(';').append("$Domain=").append(addQuotesIfHasWhitespace(cookie.getDomain()));
          }
  
          if (cookie.getPath() != null) {
              sb.append(';').append("$Path=").append(addQuotesIfHasWhitespace(cookie.getPath()));
          }
  
          return sb.toString();
      }
focal_method.class_method_signature: CookieHeaderDelegate.toString(Cookie cookie)
focal_method.full_signature: @Override public String toString(Cookie cookie)
focal_method.identifier: toString
focal_method.invocations: append append append getVersion append append append getName addQuotesIfHasWhitespace getValue getDomain append append append addQuotesIfHasWhitespace getDomain getPath append append append addQuotesIfHasWhitespace getPath toString
focal_method.modifiers: @Override public
focal_method.parameters: (Cookie cookie)
focal_method.return: String
focal_method.signature: String toString(Cookie cookie)