BatchGuy.Unit.Tests.Services.Parser.BluRayTitleParserServiceTests.bluraytitleparserservice_is_id_not_valid_test C# (CSharp) Метод

bluraytitleparserservice_is_id_not_valid_test() приватный Метод

private bluraytitleparserservice_is_id_not_valid_test ( ) : void
Результат void
        public void bluraytitleparserservice_is_id_not_valid_test()
        {
            List<ProcessOutputLineItem> lineItems = new List<ProcessOutputLineItem>
            {
                new ProcessOutputLineItem()  { Id = 1, Text = "(core: DTS, 5.1 channels, 1509kpps, 48kHz)" }
            };
            IJsonSerializationService<ISOLanguageCodeCollection> jsonSerializationService = new JsonSerializationService<ISOLanguageCodeCollection>();
            IMKVMergeLanguageService languageService = new MKVMergeLanguageService(jsonSerializationService);
            ILineItemIdentifierService lineItemService = new BluRayTitleLineItemIdentifierService();
            IBluRayTitleParserService parserService = new BluRayTitleParserService(lineItemService, lineItems, languageService);

            bool isValid = parserService.IsIdValid("core:");

            isValid.Should().BeFalse();
        }