public void TryGetSourceRecordFieldCount_RecordWithoutAttributeIsProvided_FieldCountIsNotReturned() { var record = new MockRecordWithoutAttribute(); var sourceRecordFieldCountprovider = new SourceRecordFieldCountProvider(); var couldGetSourceRecordFieldCount = sourceRecordFieldCountprovider.TryGetSourceRecordFieldCount( typeof(MockRecordWithoutAttribute), record, out var count); Assert.IsFalse(couldGetSourceRecordFieldCount); }
public void TryGetSourceRecordLength_RecordWithoutAttributeIsProvided_LengthIsNotReturned() { var record = new MockRecordWithoutAttribute(); var sourceRecordLengthprovider = new SourceRecordLengthProvider(); var couldGetSourceRecordLength = sourceRecordLengthprovider.TryGetSourceRecordLength( typeof(MockRecordWithoutAttribute), record, out var length); Assert.IsFalse(couldGetSourceRecordLength); }