public WanReplicationRef setFilters(@Nonnull List<String> filters) {
        checkNotNull(filters, "Filters must not be null");
        this.filters = filters;
        return this;
    }
@Test
    public void testSetFilters() {
        List<String> filters = new ArrayList<>();
        filters.add("myFilter1");
        filters.add("myFilter2");

        ref.setFilters(filters);

        assertEquals(2, ref.getFilters().size());
        assertEquals("myFilter1", ref.getFilters().get(0));
        assertEquals("myFilter2", ref.getFilters().get(1));
    }