public void Ctor_WithParams_CreatesExceptionWithDescriptiveHelpfulMessage() { var ex = new AgentConfigurationPackageNotFoundException("packageName"); Assert.That(ex.Message, Is.StringContaining("packageName")); Assert.That(ex.Message, Is.StringContaining(AgentConfigurationPackageNotFoundException.ErrorStub)); }
public void Ctor_NoParams_CreatesExceptionWithDefaultHelpfulMessage() { var ex = new AgentConfigurationPackageNotFoundException(); Assert.That(ex.Message, Is.EqualTo(AgentConfigurationPackageNotFoundException.ErrorStub)); }