@Override
    public void serialize(Field field, FieldWriter writer) {
        writer.write(field, this);
    }
@Test
    public void requireThatSerializeCallsBackToWriter() {
        Field field = Mockito.mock(Field.class);
        FieldWriter writer = Mockito.mock(FieldWriter.class);
        PredicateFieldValue value = new PredicateFieldValue(SimplePredicates.newPredicate());
        value.serialize(field, writer);
        Mockito.verify(writer).write(field, value);
    }