public void MarshallRequestFilterAndPrefix()
{
AssertExtensions.ExpectException(() =>
{
MarshallRequest(new LifecycleFilter()
{
LifecycleFilterPredicate = new LifecyclePrefixPredicate()
{
Prefix = "thePrefix"
}
}, "theOtherPrefix");
},
typeof(AmazonClientException), "LifecycleRule.Prefix is deprecated. Please only use LifecycleRule.Filter.");
}