@Override
    public void init() {
        try {
            pojo = clazz.getDeclaredConstructor().newInstance();
        } catch (Exception e) {
            throw QueryException.error("Unable to instantiate class \"" + clazz.getName() + "\" : "
                    + e.getMessage(), e);
        }
    }
@Test
    public void when_filterPassed_then_init_succcess() {
        var filter = mock(ReflectionClassNameFilter.class);

        UpsertTarget target = new PojoUpsertTarget(
                Object.class.getName(),
                ImmutableMap.of("field", int.class.getName()),
                filter
        );
        target.init();

        verify(filter).filter(eq(Object.class.getName()));
    }