AWSSDK.UnitTests.LifecycleFilterTests.MarshallRequestFilterAndPrefix C# (CSharp) Method

MarshallRequestFilterAndPrefix() private method

private MarshallRequestFilterAndPrefix ( ) : void
return void
        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.");
        }