public void ExceptionIsTransformedAndPublished() { var e = CreateException("A", "B"); _uut.Error(e, "some custom payload"); var actual = GetSinglePublished <ErrorEvent>(); var expected = new ErrorEvent { StackTrace = new[] { "A", "B" }, Content = "some custom payload" }; AssertSimilarity(expected, actual); }