public void Should_return_null_when_given_unknown_docflow_type() { var description = DocflowDescriptionTypes.TryGetDescriptionType("urn:docflow:unknown-type"); description.Should().BeNull(); }
public void Should_throw_argument_null_exception_when_given_null_or_empty(string value) { Assert.Throws <ArgumentNullException>(() => DocflowDescriptionTypes.TryGetDescriptionType(value)); }
public void Should_return_a_description_for_docflow_type(DocflowType docflowType) { var descriptionType = DocflowDescriptionTypes.TryGetDescriptionType(docflowType); descriptionType.Should().NotBeNull(); }