// StylingFactory originalFactory = (StylingFactory)PrivateAccessor.
// getField(DefaultPropertyValueFactory.class, "stylingFactory");
// PrivateAccessor.setField(DefaultPropertyValueFactory.class,
// "stylingFactory", factoryMock);
MutablePropertyValuesMock winnerProps = createWinnerPropertyValues();
MutablePropertyValuesMock luserProps = createLuserPropertyValues();
MutablePropertyValuesMock result =
new MutablePropertyValuesMock("result", expectations);
factoryMock.expects.createPropertyValues(
StylePropertyDetails.getDefinitions()).returns(result);
result.expects.stylePropertyIterator().returns(
StylePropertyDetails.getDefinitions().stylePropertyIterator());