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."); } }