floatCodec = createMock(Codec.class);
integerCodec = createMock(Codec.class);
shortCodec = createMock(Codec.class);
resolver = createMock(Resolver.class);
builder = createMock(Builder.class);
choices = new Choices() {
public Choice[] alternatives() {
return new Choice[]{new Choice() {
public String condition() {