예제 #1
0
 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."))
         );
 }
예제 #2
0
 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')")));
 }
예제 #3
0
 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")));
 }
예제 #4
0
 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.")));
 }