public void TryGetDestinationFieldOrdinal_FieldWithoutAttribute_DestinationFieldOrdinalIsNotReturned()
        {
            var record   = (object)null;
            var property = typeof(MockRecord).GetProperty(nameof(MockRecord.NotUsed));
            var destinationFieldOrdinalProvider = new DestinationFieldOrdinalProvider();

            var couldGetDestinationFieldOrdinal = destinationFieldOrdinalProvider.TryGetDestinationFieldOrdinal(
                property,
                record,
                out var fieldOrdinal);

            Assert.IsFalse(couldGetDestinationFieldOrdinal);
        }
        public void TryGetDestinationFieldOrdinal_StringFieldWithAttribute_DestinationFieldOrdinalIsReturned()
        {
            var record   = (object)null;
            var property = typeof(MockRecord).GetProperty(nameof(MockRecord.StringField));
            var destinationFieldOrdinalProvider = new DestinationFieldOrdinalProvider();

            var couldGetDestinationFieldOrdinal = destinationFieldOrdinalProvider.TryGetDestinationFieldOrdinal(
                property,
                record,
                out var fieldOrdinal);

            Assert.IsTrue(couldGetDestinationFieldOrdinal);
            Assert.AreEqual(0, fieldOrdinal);
        }