예제 #1
0
        public void InstanceBlockShouldThrowOnEnumeration()
        {
            Check.ThatCode(() =>
            {
                var blk = new InstanceBlock(typeof(string));

                blk.WithEnumerableCount(0);
            })
            .Throws <NotSupportedException>();
        }
예제 #2
0
        public void InstanceBlockShouldThrowOnEnumeration()
        {
            Check.ThatCode(() =>
            {
                var blk = new InstanceBlock(typeof(string));

                blk.WithEnumerableCount(0);
            })
            .Throws<NotSupportedException>();
        }
예제 #3
0
        public void InstanceBlockShouldThrowOnEnumeration()
        {
            var blk = new InstanceBlock(typeof(string));

            blk.WithEnumerableCount(0);
        }