// order is irrelevant, and there are no interactions between it and
// the other mock objects being used.
specificityExpectations = mockFactory.createUnorderedBuilder();
// Create a mock specificity calculator.
specificityCalculatorMock = new SpecificityCalculatorMock(
"specificityCalculator", specificityExpectations);
// Get the specificity to return.
specificity = new SpecificityCalculatorImpl().getSpecificity();