Exemplo n.º 1
0
        public void InstanceBlockShouldThrowOnEnumeration()
        {
            Check.ThatCode(() =>
            {
                var blk = new InstanceBlock(typeof(string));

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

                blk.WithEnumerableCount(0);
            })
            .Throws<NotSupportedException>();
        }
Exemplo n.º 3
0
        public void InstanceBlockShouldThrowOnEnumeration()
        {
            var blk = new InstanceBlock(typeof(string));

            blk.WithEnumerableCount(0);
        }