public Object getResult() {
        if (value != null) {
            return value;
        } else if (values != null) {
            return new MultiResult<Object>(values);
        } else {
            return null;
        }
    }
@Test
    public void test_emptyCollector() {
        assertNull(collector.getResult());
    }