}
@Test
public void testPayerBucketOwner() throws HttpException {
Payer payer = createParser()
.parse(
Strings2
.toInputStream("<RequestPaymentConfiguration xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"><Payer>BucketOwner</Payer></RequestPaymentConfiguration>"));
assertEquals(payer, Payer.BUCKET_OWNER);