This PR improves our session tests in a few ways, primarily:
allowing them to run independently of other tests (currently they only run if other tests run first)
splitting the FakeBugsnagServer's request list into separate lists for events and sessions. This allows sessions to be sent in unit tests without breaking existing tests that expect to only receive events
adding tests that use the delivery thread
all tests now have a session endpoint configured so they all have the capacity to deliver sessions
This PR is fairly large but can be reviewed commit by commit
Goal
This PR improves our session tests in a few ways, primarily:
FakeBugsnagServer
's request list into separate lists for events and sessions. This allows sessions to be sent in unit tests without breaking existing tests that expect to only receive eventsThis PR is fairly large but can be reviewed commit by commit