I don't think this is an improvement. I'm not against getting rid of the public getter method, but explicitly testing against "private" member variables seems like a code smell.

For testing the `projectId` and `projectKey` stuff, I created a custom reporter and checked the `opts` passed to it.
For `context` and the various other message parts, we should test against the `notice` provided to the reporter.