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

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