public void GetRecordType_WhenRecordStartsWithC_ThenReturnInvalid() { string expectedRecordType = RecordType.INVALID; var helper = new EclIngestionHelper(); string actualRecordType = helper.GetRecordType("C"); Assert.AreEqual(expectedRecordType, actualRecordType); }
public void GetRecordType_WhenRecordStartsWithD_ThenReturnData() { string expectedRecordType = RecordType.DATA; var helper = new EclIngestionHelper(); string actualRecordType = helper.GetRecordType("D"); Assert.AreEqual(expectedRecordType, actualRecordType); }
public void GetRecordType_WhenRecordStartsWithZ_ThenReturnFooter() { string expectedRecordType = RecordType.FOOTER; var helper = new EclIngestionHelper(); string actualRecordType = helper.GetRecordType("Z"); Assert.AreEqual(expectedRecordType, actualRecordType); }
public void GetRecordType_WhenRecordStartsWithA_ThenReturnHeader() { string expectedRecordType = RecordType.HEADER; var helper = new EclIngestionHelper(); string actualRecordType = helper.GetRecordType("A"); Assert.AreEqual(expectedRecordType, actualRecordType); }