@Test
public void checkOutMethod()
        throws Exception {

    IField field = new Field(new FieldName("a"));
    IObject env = mock(IObject.class);
    doNothing().when(env).setValue(new FieldName("a"), 1);
    field.out(env, 1);
    verify(env, times(1)).setValue(new FieldName("a"), 1);
}