Where can I find a simple, working and easy code example for testing on Android with the ProviderTestCase2?
Best would be an OpenSource project actually using it – on the other hand, in the complexity of a real project it can become hard to realize the actual functionality, so any good example is welcome. The Google Android docs are not very specific and contain no proper example.
Android uses it internally to test its providers. For examples see here and here.
Google Code Search is great for this stuff 🙂