Try to use exact type provider first.

Hello,

I've got an issue with the current provider resolving behavior:

I registered a provider for MyMessages.class which extends com.google.gwt.i18n.client.Messages.class, and now attempt to get MyMessages mock gives me MyMessages or Messages depending on luck and hashCodes, because there is already a default provider for Messages.

Using exact type provider if you've got one would be nice.