@Test
public void checkInMethod()
        throws Exception {

    IField field = new Field(new FieldName("a"));
    IObject env = mock(IObject.class);
    when(env.getValue(new FieldName("a"))).thenReturn(true);
    assertTrue(field.in(env));
}