{"action":"created","issue":{"url":"https://api.github.com/repos/dasein-cloud/dasein-cloud-core/issues/28","labels_url":"https://api.github.com/repos/dasein-cloud/dasein-cloud-core/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/dasein-cloud/dasein-cloud-core/issues/28/comments","events_url":"https://api.github.com/repos/dasein-cloud/dasein-cloud-core/issues/28/events","html_url":"https://github.com/dasein-cloud/dasein-cloud-core/pull/28","id":107108570,"number":28,"title":"Fix for APITrace mock issues.  If registered, issue a warning","user":{"login":"unwin","id":515346,"avatar_url":"https://avatars.githubusercontent.com/u/515346?v=3","gravatar_id":"","url":"https://api.github.com/users/unwin","html_url":"https://github.com/unwin","followers_url":"https://api.github.com/users/unwin/followers","following_url":"https://api.github.com/users/unwin/following{/other_user}","gists_url":"https://api.github.com/users/unwin/gists{/gist_id}","starred_url":"https://api.github.com/users/unwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unwin/subscriptions","organizations_url":"https://api.github.com/users/unwin/orgs","repos_url":"https://api.github.com/users/unwin/repos","events_url":"https://api.github.com/users/unwin/events{/privacy}","received_events_url":"https://api.github.com/users/unwin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-18T00:45:14Z","updated_at":"2015-09-18T08:02:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dasein-cloud/dasein-cloud-core/pulls/28","html_url":"https://github.com/dasein-cloud/dasein-cloud-core/pull/28","diff_url":"https://github.com/dasein-cloud/dasein-cloud-core/pull/28.diff","patch_url":"https://github.com/dasein-cloud/dasein-cloud-core/pull/28.patch"},"body":"referencing mock testing. If unable to register throw exception(orig\r\nbehavior)."},"comment":{"url":"https://api.github.com/repos/dasein-cloud/dasein-cloud-core/issues/comments/141375103","html_url":"https://github.com/dasein-cloud/dasein-cloud-core/pull/28#issuecomment-141375103","issue_url":"https://api.github.com/repos/dasein-cloud/dasein-cloud-core/issues/28","id":141375103,"user":{"login":"maksimov","id":157861,"avatar_url":"https://avatars.githubusercontent.com/u/157861?v=3","gravatar_id":"","url":"https://api.github.com/users/maksimov","html_url":"https://github.com/maksimov","followers_url":"https://api.github.com/users/maksimov/followers","following_url":"https://api.github.com/users/maksimov/following{/other_user}","gists_url":"https://api.github.com/users/maksimov/gists{/gist_id}","starred_url":"https://api.github.com/users/maksimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maksimov/subscriptions","organizations_url":"https://api.github.com/users/maksimov/orgs","repos_url":"https://api.github.com/users/maksimov/repos","events_url":"https://api.github.com/users/maksimov/events{/privacy}","received_events_url":"https://api.github.com/users/maksimov/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T08:02:43Z","updated_at":"2015-09-18T08:02:43Z","body":"The only problem I see is a Throwable printed out to stdout, to fix it we need to remove the line `t.printStackTrace()`. Also I don't believe the situation has something to do with mocking, but rather with how APITrace static block gets initialised first from surefire plugin, then from failsafe."}}