@Test (expected = InvalidArgumentException.class)
public void checkInMethodExceptionOnNullArgs()
        throws Exception {

    IObject rule = mock(IObject.class);
    when(rule.getValue(new FieldName("name"))).thenReturn("wds_getter_strategy");
    IField field = new WDSObjectField(new ArrayList<IObject>(){{add(rule);}});
    field.in(null);
    fail();
}