public void Contains_IEnumerable_ResetWasCall()
        {
            var enumerable = EnumerableMock.CreateNotEmpty();

            EnumerableExtension.Contains(enumerable, new object());
            Assert.True(enumerable.ResetWasCall);
        }
        public void Contains_ArrayContainsObject_True()
        {
            var obj = new object();

            object[] arr = { obj };
            Assert.True(EnumerableExtension.Contains(arr, obj));
        }
 public void Contains_ArrayContainsNull_True()
 {
     object[] arr = { new object(), null };
     Assert.True(EnumerableExtension.Contains(arr, null));
 }