예제 #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();
        }