Example #1
0
        public void TestReset()
        {
            var result = new DatabaseResult <TestEntity>(DummyEnumerator(), 5);

            try
            {
                result.Reset();
                Assert.Fail("This should've failed!");
            }
            catch (NotSupportedException)
            {
                Debug.Log("Caught NotSupportedException.");
            }
        }