package com.ibm.watson.common;

public class SdkCommonTest {
}

@@ -29,35 +29,1060 @@
 n;%0A%0A
-public class SdkCommonTest %7B
+import com.ibm.cloud.sdk.core.http.HttpHeaders;%0Aimport com.ibm.cloud.sdk.core.test.WatsonServiceUnitTest;%0Aimport org.junit.Test;%0A%0Aimport java.util.Map;%0A%0Aimport static org.junit.Assert.assertTrue;%0A%0Apublic class SdkCommonTest extends WatsonServiceUnitTest %7B%0A  @Test%0A  public void testGetDefaultHeaders() %7B%0A    String serviceName = %22test_name%22;%0A    String serviceVersion = %22v1%22;%0A    String operationId = %22test_method%22;%0A    Map%3CString, String%3E defaultHeaders = SdkCommon.getDefaultHeaders(serviceName, serviceVersion, operationId);%0A%0A    assertTrue(defaultHeaders.containsKey(HttpHeaders.X_IBMCLOUD_SDK_ANALYTICS));%0A    String analyticsHeaderValue = defaultHeaders.get(HttpHeaders.X_IBMCLOUD_SDK_ANALYTICS);%0A    assertTrue(analyticsHeaderValue.contains(serviceName));%0A    assertTrue(analyticsHeaderValue.contains(serviceVersion));%0A    assertTrue(analyticsHeaderValue.contains(operationId));%0A    assertTrue(defaultHeaders.containsKey(HttpHeaders.USER_AGENT));%0A    assertTrue(defaultHeaders.get(HttpHeaders.USER_AGENT).startsWith(%22watson-apis-java-sdk/%22));%0A  %7D
 %0A%7D%0A

Add test for getDefaultHeaders()