public void ConvertDocumentWithoutAssortmentTest() { PrepareTestDocumentLog(); _controller.Converted(_line.Id, _client.Id); Assert.That(_controller.PropertyBag["convertedLine"], Is.StringContaining("testCatalog")); Assert.That(_controller.PropertyBag["convertedLine"], Is.StringContaining("testProducer")); Assert.That(_controller.PropertyBag["notFindAssortment"], Is.StringContaining("* не указан ассортиментный прайс-лист для конвертации")); }