Пример #1
0
        public void Should_return_null_when_given_unknown_docflow_type()
        {
            var description = DocflowDescriptionTypes.TryGetDescriptionType("urn:docflow:unknown-type");

            description.Should().BeNull();
        }
Пример #2
0
 public void Should_throw_argument_null_exception_when_given_null_or_empty(string value)
 {
     Assert.Throws <ArgumentNullException>(() => DocflowDescriptionTypes.TryGetDescriptionType(value));
 }
Пример #3
0
        public void Should_return_a_description_for_docflow_type(DocflowType docflowType)
        {
            var descriptionType = DocflowDescriptionTypes.TryGetDescriptionType(docflowType);

            descriptionType.Should().NotBeNull();
        }