public void ReturnDictionaryEntryWithCurrentKeyAndValue_WhenEntryPropertyGetterIsInvoked()
        {
            string[] paths = new string[] { "/file1" };
            var resEnumerator = new ResourceEnumerator2(paths);

            var keyFieldValue = "Key1";
            var valueFieldValue = "Value1";

            FieldInfo keyField = resEnumerator.GetType().GetField("key", BindingFlags.Instance | BindingFlags.NonPublic);
            keyField.SetValue(resEnumerator, keyFieldValue);

            FieldInfo valueField = resEnumerator.GetType().GetField("value", BindingFlags.Instance | BindingFlags.NonPublic);
            valueField.SetValue(resEnumerator, valueFieldValue);

            var entry = resEnumerator.Entry;
            Assert.AreEqual(entry.Key, keyFieldValue);
            Assert.AreEqual(entry.Value, valueFieldValue);
        }
        public void ReturnValueField_WhenValuePropertyGetterIsInvoked()
        {
            string[] paths = new string[] { "/file1" };
            var resEnumerator = new ResourceEnumerator2(paths);

            var fieldValue = "Value1";
            FieldInfo valueField = resEnumerator.GetType().GetField("value", BindingFlags.Instance | BindingFlags.NonPublic);
            valueField.SetValue(resEnumerator, fieldValue);

            Assert.AreEqual(fieldValue, resEnumerator.Value);
        }