@Before
public void setUp() {
factory = new CompoundCodecFactory();
BindingFactory bindingFactory = new StandardBindingFactory();
bindingFactory = new ConditionalBindingFactory(bindingFactory);
objectCodecFactory = new ObjectCodecFactory(factory, bindingFactory);
factory.add(new NumericCodec.Factory());
factory.add(new ListCodecFactory(factory));
factory.add(objectCodecFactory);
}