GetLineItemType() публичный Метод

public GetLineItemType ( ProcessOutputLineItem processOutputLineItem ) : EnumBluRayLineItemType
processOutputLineItem BatchGuy.App.Parser.Models.ProcessOutputLineItem
Результат EnumBluRayLineItemType
 public void bluraysummarylineitemidentifierservice_can_identify_bluray_empty_line_item_test()
 {
     ProcessOutputLineItem lineItem = new ProcessOutputLineItem() { Id = 1, Text = "" };
     ILineItemIdentifierService service = new BluRaySummaryLineItemIdentifierService();
     EnumBluRayLineItemType type = service.GetLineItemType(lineItem);
     type.Should().Be(EnumBluRayLineItemType.BluRaySummaryEmptyLine);
 }
 public void bluraysummarylineitemidentifierservice_can_identify_bluray_header_line_item_test()
 {
     ProcessOutputLineItem lineItem = new ProcessOutputLineItem() { Id =1 , Text = "1) 00010.mpls, 3:04:31" };
     ILineItemIdentifierService service = new BluRaySummaryLineItemIdentifierService();
     EnumBluRayLineItemType type = service.GetLineItemType(lineItem);
     type.Should().Be(EnumBluRayLineItemType.BluRaySummaryHeaderLine);
 }
 public void bluraysummarylineitemidentifierservice_can_identify_bluray_detail_line_item_test()
 {
     ProcessOutputLineItem lineItem = new ProcessOutputLineItem() { Id = 1, Text = "- DTS Master Audio, Swedish, multi-channel, 48kHz" };
     ILineItemIdentifierService service = new BluRaySummaryLineItemIdentifierService();
     EnumBluRayLineItemType type = service.GetLineItemType(lineItem);
     type.Should().Be(EnumBluRayLineItemType.BluRaySummaryDetailLine);
 }