use of com.linkedin.r2.caprep.PassThroughFilter in project rest.li by linkedin.
the class TestReplaceableFilter method testSetAndGet.
@Test
public void testSetAndGet() {
final ReplaceableFilter filter = getFilter();
final RestFilter newFilter = new PassThroughFilter();
Assert.assertTrue(!filter.getFilter().equals(newFilter));
filter.setFilter(newFilter);
Assert.assertEquals(newFilter, filter.getFilter());
}
Aggregations