public void DefaultRenderer_WithBeforeNotification_ShouldReturnCorrectValue(
     int depth,
     string prefix,
     BeforeActionNotificationContent notificationContent,
     INamed named)
 {
     // arrange
     // act
     var actual = RenderedReportingObserver.DefaultRenderer(new ActionNotification(named, depth, notificationContent));
     // assert
     var expected = prefix + " Starting " + named.Name;
 }
 public void DefaultRenderer_WithAfterNotification_ShouldReturnCorrectValue(
     int depth,
     string prefix,
     AfterActionNotificationContent notificationContent,
     INamed named)
 {
     // arrange
     // act
     var actual = RenderedReportingObserver.DefaultRenderer(new ActionNotification(named, depth, notificationContent));
     // assert
     var expected = prefix + $"Ending   {named.Name} ({notificationContent.Duration.ToString("g", CultureInfo.CurrentCulture)})";
 }
 public void DefaultRenderer_WithErrorNotification_ShouldReturnCorrectValue(
     int depth,
     string prefix,
     ExecutionErrorNotificationContent notificationContent,
     INamed named)
 {
     // arrange
     // act
     var actual = RenderedReportingObserver.DefaultRenderer(new ActionNotification(named, depth, notificationContent));
     // assert
     var expected = prefix + $"Error in {named.Name}\n({notificationContent.Exception.Message}";
 }