AwsCoders { public static Coder<SdkHttpMetadata> sdkHttpMetadataWithoutHeaders() { return new SdkHttpMetadataCoder(false); } private  AwsCoders(); static Coder<ResponseMetadata> responseMetadata(); static Coder<SdkHttpMetadata> sdkHttpMetadata(); static Coder<SdkHttpMetadata> sdkHttpMetadataWithoutHeaders();  }
@Test public void testSdkHttpMetadataWithoutHeadersDecodeEncodeEquals() throws Exception { SdkHttpMetadata value = buildSdkHttpMetadata(); SdkHttpMetadata clone = CoderUtils.clone(AwsCoders.sdkHttpMetadataWithoutHeaders(), value); assertThat(clone.getHttpStatusCode(), equalTo(value.getHttpStatusCode())); assertThat(clone.getHttpHeaders().isEmpty(), equalTo(true)); }