public void Should_return_correct_propercase_name_segment_for_provided_assembly_name() { AssertHelper.All( () => Assert.That(ActualException.GetType(), Is.EqualTo(typeof(Exception))), () => Assert.That(ActualException.Message, Is.EqualTo("The supplied 'aggregateExtensionEntity' was not an aggregate extension.")) ); }
public void Should_throw_ArgumentNullException_indicating_resourceName_parameter_cannot_be_null() { AssertHelper.All( () => Assert.That(ActualException.GetType(), Is.EqualTo(typeof(ArgumentNullException))), () => Assert.That( ActualException.Message.Replace(Environment.NewLine, " "), Is.EqualTo("Value cannot be null. (Parameter 'resourceName')"))); }
public void Should_throw_ArgumentNullException() { AssertHelper.All( () => Assert.That(ActualException.GetType(), Is.EqualTo(typeof(ArgumentNullException))), () => Assert.That( ActualException.Message.Replace(Environment.NewLine, " "), Is.EqualTo("Value cannot be null. Parameter name: resourceSchemaProperCaseName"))); }
public void Should_throw_Exception() { AssertHelper.All( () => Assert.That(ActualException.GetType(), Is.EqualTo(typeof(Exception))), () => Assert.That( ActualException.Message.Replace(Environment.NewLine, " "), Is.EqualTo( @"profileNamespaceBaseChildrenConcreteContext was supplied without a value for profileNamespaceName."))); }