mozilla-services/android-sync — pull request #36 by ncalexan (2012-01-21 00:42:31+00:00)
Title: Nalexander/test global session

Address rnewman's feedback from https://github.com/mozilla-services/android-sync/commit/b11b5782f804f996ed30189a60d18a5536f3daeb#commitcomment-884685.

I addressed all nits. I addressed the synchronous concerns in GlobalSesson.start -- this is done incorrectly in the test-android-sync git repo as well (patch to follow).

I did NOT split exactly as rnewman suggested. I factored out various Mocks for re-use, but I split based on the callback's behaviour instead of on the async behaviour. This reduced code duplication better.