예제 #1
0
 public void AllNotificationPropertiesAreCopiedFromRequestToEvent()
 {
     using (var domain = new EntitiesDomain())
     {
         Feature.WithScenario("when converting a notification request to an event all notification properties are copied across")
         .Given(domain.TheNotificationRequestIsFullyPopulated)
         .When(domain.TheNotificationRequestIsConvertedToAnEvent)
         .Then(domain.AllTheNotificationEventPropertiesMatchTheRequestNotification)
         .ExecuteWithReport();
     }
 }
예제 #2
0
 public void AllNotificationPropertiesAreCopiedFromRequestToEvent()
 {
     using (var domain = new EntitiesDomain())
     {
         Feature.WithScenario("when converting a notification request to an event all notification properties are copied across")
             .Given(domain.TheNotificationRequestIsFullyPopulated)
             .When(domain.TheNotificationRequestIsConvertedToAnEvent)
             .Then(domain.AllTheNotificationEventPropertiesMatchTheRequestNotification)
             .ExecuteWithReport();
     }
 }
예제 #3
0
 public void HealthCheckResultDeserialisePreviousVersion(string version)
 {
     using (var domain = new EntitiesDomain())
     {
         Feature.WithScenario("")
             .Given(domain.TheHealthCheckResultDataFilenameIsBuiltForVersion_, version)
             .When(domain.TheHealthCheckResultXmlIsDeserialised)
             .Then(domain.ThrewNoException)
                 .And(domain.TheResultShouldNotBeNull)
             .ExecuteWithReport();
     }
 }
예제 #4
0
 public void HealthCheckResultDeserialisePreviousVersion(string version)
 {
     using (var domain = new EntitiesDomain())
     {
         Feature.WithScenario("")
         .Given(domain.TheHealthCheckResultDataFilenameIsBuiltForVersion_, version)
         .When(domain.TheHealthCheckResultXmlIsDeserialised)
         .Then(domain.ThrewNoException)
         .And(domain.TheResultShouldNotBeNull)
         .ExecuteWithReport();
     }
 }