// Create a mock pseudo entity provider.
pseudoEntityProviderMock = new PseudoStyleEntitiesMock(
"pseudoEntityProvider", expectations);
matcherBuilderContextMock = new MatcherBuilderContextMock(
"matcherBuilderContext", expectations);
// Create a set of expectations for the specificity calculator as their
// order is irrelevant, and there are no interactions between it and
// the other mock objects being used.