{"action":"created","issue":{"url":"https://api.github.com/repos/joshfraser/PHP-Name-Parser/issues/6","labels_url":"https://api.github.com/repos/joshfraser/PHP-Name-Parser/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/joshfraser/PHP-Name-Parser/issues/6/comments","events_url":"https://api.github.com/repos/joshfraser/PHP-Name-Parser/issues/6/events","html_url":"https://github.com/joshfraser/PHP-Name-Parser/pull/6","id":58685510,"number":6,"title":"Added unit tests","user":{"login":"jhoughtelin","id":6137941,"avatar_url":"https://avatars.githubusercontent.com/u/6137941?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoughtelin","html_url":"https://github.com/jhoughtelin","followers_url":"https://api.github.com/users/jhoughtelin/followers","following_url":"https://api.github.com/users/jhoughtelin/following{/other_user}","gists_url":"https://api.github.com/users/jhoughtelin/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoughtelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoughtelin/subscriptions","organizations_url":"https://api.github.com/users/jhoughtelin/orgs","repos_url":"https://api.github.com/users/jhoughtelin/repos","events_url":"https://api.github.com/users/jhoughtelin/events{/privacy}","received_events_url":"https://api.github.com/users/jhoughtelin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T02:40:22Z","updated_at":"2015-02-24T05:45:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joshfraser/PHP-Name-Parser/pulls/6","html_url":"https://github.com/joshfraser/PHP-Name-Parser/pull/6","diff_url":"https://github.com/joshfraser/PHP-Name-Parser/pull/6.diff","patch_url":"https://github.com/joshfraser/PHP-Name-Parser/pull/6.patch"},"body":"I created some simple unit tests using PHPUnit and the data you already had in the examples.php file to populate the unit tests.   \r\nI created two tests, one to test the known good conversions and one to test the bad conversions so all tests pass even if they are testing for known failure.\r\nin total there is currently 43 tests run w/43 assertions and no failures.\r\n\r\nTo run the unit tests I have phpunit installed globally and just navigate to the 'tests' folder and run phpunit at the command line."},"comment":{"url":"https://api.github.com/repos/joshfraser/PHP-Name-Parser/issues/comments/75703211","html_url":"https://github.com/joshfraser/PHP-Name-Parser/pull/6#issuecomment-75703211","issue_url":"https://api.github.com/repos/joshfraser/PHP-Name-Parser/issues/6","id":75703211,"user":{"login":"joshfraser","id":982234,"avatar_url":"https://avatars.githubusercontent.com/u/982234?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfraser","html_url":"https://github.com/joshfraser","followers_url":"https://api.github.com/users/joshfraser/followers","following_url":"https://api.github.com/users/joshfraser/following{/other_user}","gists_url":"https://api.github.com/users/joshfraser/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfraser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfraser/subscriptions","organizations_url":"https://api.github.com/users/joshfraser/orgs","repos_url":"https://api.github.com/users/joshfraser/repos","events_url":"https://api.github.com/users/joshfraser/events{/privacy}","received_events_url":"https://api.github.com/users/joshfraser/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T05:45:46Z","updated_at":"2015-02-24T05:45:46Z","body":"Thanks Josh!"}}