Esempio n. 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();
     }
 }
Esempio n. 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();
     }
 }
Esempio n. 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();
     }
 }
Esempio n. 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();
     }
 }