{"action":"created","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/2898","labels_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2898/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2898/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2898/events","html_url":"https://github.com/Particular/NServiceBus/pull/2898","id":106569013,"number":2898,"title":"add SimulatedException for acceptance tests","user":{"login":"timbussmann","id":3524870,"avatar_url":"https://avatars.githubusercontent.com/u/3524870?v=3","gravatar_id":"","url":"https://api.github.com/users/timbussmann","html_url":"https://github.com/timbussmann","followers_url":"https://api.github.com/users/timbussmann/followers","following_url":"https://api.github.com/users/timbussmann/following{/other_user}","gists_url":"https://api.github.com/users/timbussmann/gists{/gist_id}","starred_url":"https://api.github.com/users/timbussmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timbussmann/subscriptions","organizations_url":"https://api.github.com/users/timbussmann/orgs","repos_url":"https://api.github.com/users/timbussmann/repos","events_url":"https://api.github.com/users/timbussmann/events{/privacy}","received_events_url":"https://api.github.com/users/timbussmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-15T14:32:00Z","updated_at":"2015-09-15T14:40:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Particular/NServiceBus/pulls/2898","html_url":"https://github.com/Particular/NServiceBus/pull/2898","diff_url":"https://github.com/Particular/NServiceBus/pull/2898.diff","patch_url":"https://github.com/Particular/NServiceBus/pull/2898.patch"},"body":"* adds a `SimulatedException` for acceptance tests to use instead of `Exception`\r\n* allows a more fine grained `AllowExceptions()` configuration which should avoid allowing all Exceptions and possibly miss a non-expected exception\r\n* adds a `AllowSimulatedExceptions()` configuration option for Scenario.Define which is a shortcut to `AllowExceptions(e => e is SimulatedException)`\r\n* replaced all test specific fake/simulated exception classes"},"comment":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/comments/140415325","html_url":"https://github.com/Particular/NServiceBus/pull/2898#issuecomment-140415325","issue_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2898","id":140415325,"user":{"login":"danielmarbach","id":174258,"avatar_url":"https://avatars.githubusercontent.com/u/174258?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmarbach","html_url":"https://github.com/danielmarbach","followers_url":"https://api.github.com/users/danielmarbach/followers","following_url":"https://api.github.com/users/danielmarbach/following{/other_user}","gists_url":"https://api.github.com/users/danielmarbach/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmarbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmarbach/subscriptions","organizations_url":"https://api.github.com/users/danielmarbach/orgs","repos_url":"https://api.github.com/users/danielmarbach/repos","events_url":"https://api.github.com/users/danielmarbach/events{/privacy}","received_events_url":"https://api.github.com/users/danielmarbach/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T14:40:00Z","updated_at":"2015-09-15T14:40:00Z","body":"Should we make AllowSimulatedException the default or too much magic?"}}