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