[add] unit test for phpDocumentor\Plugin\Core\ServiceProvider::register()

This is the test I wrote during the July test fest with PFZ, so be gentle :)
To clarify: this is your fixture.

It is not wrong to instantiate it in the test method, when you have multiple test methods it generally saves code and makes it easier to change a test if the list of dependencies for your fixture should change