{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-event-hubs-dotnet/issues/24","repository_url":"https://api.github.com/repos/Azure/azure-event-hubs-dotnet","labels_url":"https://api.github.com/repos/Azure/azure-event-hubs-dotnet/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-event-hubs-dotnet/issues/24/comments","events_url":"https://api.github.com/repos/Azure/azure-event-hubs-dotnet/issues/24/events","html_url":"https://github.com/Azure/azure-event-hubs-dotnet/issues/24","id":183201274,"node_id":"MDU6SXNzdWUxODMyMDEyNzQ=","number":24,"title":"Make Event Hubs library mockable","user":{"login":"cwe1ss","id":4581460,"node_id":"MDQ6VXNlcjQ1ODE0NjA=","avatar_url":"https://avatars1.githubusercontent.com/u/4581460?v=4","gravatar_id":"","url":"https://api.github.com/users/cwe1ss","html_url":"https://github.com/cwe1ss","followers_url":"https://api.github.com/users/cwe1ss/followers","following_url":"https://api.github.com/users/cwe1ss/following{/other_user}","gists_url":"https://api.github.com/users/cwe1ss/gists{/gist_id}","starred_url":"https://api.github.com/users/cwe1ss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwe1ss/subscriptions","organizations_url":"https://api.github.com/users/cwe1ss/orgs","repos_url":"https://api.github.com/users/cwe1ss/repos","events_url":"https://api.github.com/users/cwe1ss/events{/privacy}","received_events_url":"https://api.github.com/users/cwe1ss/received_events","type":"User","site_admin":false},"labels":[{"id":444033893,"node_id":"MDU6TGFiZWw0NDQwMzM4OTM=","url":"https://api.github.com/repos/Azure/azure-event-hubs-dotnet/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":444033894,"node_id":"MDU6TGFiZWw0NDQwMzM4OTQ=","url":"https://api.github.com/repos/Azure/azure-event-hubs-dotnet/labels/up%20for%20grabs","name":"up for grabs","color":"128A0C","default":false}],"state":"open","locked":false,"assignee":{"login":"serkantkaraca","id":16924470,"node_id":"MDQ6VXNlcjE2OTI0NDcw","avatar_url":"https://avatars1.githubusercontent.com/u/16924470?v=4","gravatar_id":"","url":"https://api.github.com/users/serkantkaraca","html_url":"https://github.com/serkantkaraca","followers_url":"https://api.github.com/users/serkantkaraca/followers","following_url":"https://api.github.com/users/serkantkaraca/following{/other_user}","gists_url":"https://api.github.com/users/serkantkaraca/gists{/gist_id}","starred_url":"https://api.github.com/users/serkantkaraca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serkantkaraca/subscriptions","organizations_url":"https://api.github.com/users/serkantkaraca/orgs","repos_url":"https://api.github.com/users/serkantkaraca/repos","events_url":"https://api.github.com/users/serkantkaraca/events{/privacy}","received_events_url":"https://api.github.com/users/serkantkaraca/received_events","type":"User","site_admin":false},"assignees":[{"login":"serkantkaraca","id":16924470,"node_id":"MDQ6VXNlcjE2OTI0NDcw","avatar_url":"https://avatars1.githubusercontent.com/u/16924470?v=4","gravatar_id":"","url":"https://api.github.com/users/serkantkaraca","html_url":"https://github.com/serkantkaraca","followers_url":"https://api.github.com/users/serkantkaraca/followers","following_url":"https://api.github.com/users/serkantkaraca/following{/other_user}","gists_url":"https://api.github.com/users/serkantkaraca/gists{/gist_id}","starred_url":"https://api.github.com/users/serkantkaraca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serkantkaraca/subscriptions","organizations_url":"https://api.github.com/users/serkantkaraca/orgs","repos_url":"https://api.github.com/users/serkantkaraca/repos","events_url":"https://api.github.com/users/serkantkaraca/events{/privacy}","received_events_url":"https://api.github.com/users/serkantkaraca/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-10-15T10:10:23Z","updated_at":"2018-06-01T13:47:52Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Right now, it's really hard to test code using this library because many important concepts are marked as internal.\nOne example is that you can't even create an `EventData` object with system properties because the [setter is internal](https://github.com/Azure/azure-event-hubs-dotnet/blob/master/src/Microsoft.Azure.EventHubs/EventData.cs#L80). \n\nIt would be great if you could follow the example of ASP.NET Core (and other new MS open source projects) and use more interfaces, protected setters, etc. and an \"Internal\" folder/namespace instead of internal types. All types in that folder would not be backed by the typical backwards compatibility and usage would be at everyone's own risk.\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-event-hubs-dotnet/issues/comments/393885955","html_url":"https://github.com/Azure/azure-event-hubs-dotnet/issues/24#issuecomment-393885955","issue_url":"https://api.github.com/repos/Azure/azure-event-hubs-dotnet/issues/24","id":393885955,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Mzg4NTk1NQ==","user":{"login":"NickDarvey","id":6076697,"node_id":"MDQ6VXNlcjYwNzY2OTc=","avatar_url":"https://avatars0.githubusercontent.com/u/6076697?v=4","gravatar_id":"","url":"https://api.github.com/users/NickDarvey","html_url":"https://github.com/NickDarvey","followers_url":"https://api.github.com/users/NickDarvey/followers","following_url":"https://api.github.com/users/NickDarvey/following{/other_user}","gists_url":"https://api.github.com/users/NickDarvey/gists{/gist_id}","starred_url":"https://api.github.com/users/NickDarvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickDarvey/subscriptions","organizations_url":"https://api.github.com/users/NickDarvey/orgs","repos_url":"https://api.github.com/users/NickDarvey/repos","events_url":"https://api.github.com/users/NickDarvey/events{/privacy}","received_events_url":"https://api.github.com/users/NickDarvey/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T13:47:52Z","updated_at":"2018-06-01T13:47:52Z","author_association":"NONE","body":"@jtaubensee how's this going?"}}
{"actor":{"display_login":"NickDarvey"}}