Example #1
0
        public void TestMoveUpBeyondEdges()
        {
            var voc = new VirtualOrderContainer <Foo>("", new[] { _f1, _f2 });

            Should.Throw <InvalidOperationException>(() => voc.Move(_f1, -1));
        }
        public void TestMoveUpBeyondEdges()
        {
            var voc = new VirtualOrderContainer <Foo>("", new[] { _f1, _f2 });

            voc.Move(_f1, -1);
        }