test_class.declarator: diffFilter
test_class.original_string: DiffFilter diffFilter;
test_class.type: DiffFilter
test_class.var_name: diffFilter
test_class.declarator: filter
test_class.modifier: @Mock
test_class.original_string: @Mock
    Filter filter;
test_class.type: Filter
test_class.var_name: filter
test_class.file: imcache-core/src/test/java/com/cetsoft/imcache/cache/search/filter/DiffFilterTest.java
test_class.identifier: DiffFilterTest
test_case.body: @Test
    public void filter() {
      Object object1 = new Object();
      Object object2 = new Object();
      Object object3 = new Object();
      List<Object> list1 = new ArrayList<Object>();
      list1.add(object1);
      list1.add(object2);
      List<Object> list2 = new ArrayList<Object>();
      list2.add(object2);
      list2.add(object3);
      doReturn(list1).doReturn(list2).when(filter).filter(anyList());
      List<Object> actualObjects = diffFilter.filter(list1);
      assertEquals(object1, actualObjects.get(0));
    }
test_case.class_method_signature: DiffFilterTest.filter()
test_case.full_signature: @Test public void filter()
test_case.identifier: filter
test_case.invocations: add add add add filter when doReturn doReturn anyList filter assertEquals get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void filter()
focal_class.declarator: leftFilter
focal_class.modifier: private
focal_class.original_string: private Filter leftFilter, rightFilter;
focal_class.type: Filter
focal_class.var_name: leftFilter
focal_class.file: imcache-core/src/main/java/com/cetsoft/imcache/cache/search/filter/DiffFilter.java
focal_class.identifier: DiffFilter
focal_class.class_method_signature: DiffFilter.DiffFilter(Filter leftFilter, Filter rightFilter)
focal_class.full_signature: public  DiffFilter(Filter leftFilter, Filter rightFilter)
focal_class.identifier: DiffFilter
focal_class.modifiers: public
focal_class.parameters: (Filter leftFilter, Filter rightFilter)
focal_class.signature:  DiffFilter(Filter leftFilter, Filter rightFilter)
focal_class.class_method_signature: DiffFilter.getLeftFilter()
focal_class.full_signature: public Filter getLeftFilter()
focal_class.identifier: getLeftFilter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Filter
focal_class.signature: Filter getLeftFilter()
focal_class.class_method_signature: DiffFilter.getRightFilter()
focal_class.full_signature: public Filter getRightFilter()
focal_class.identifier: getRightFilter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Filter
focal_class.signature: Filter getRightFilter()
focal_class.class_method_signature: DiffFilter.filter(List<Object> objects)
focal_class.full_signature: public List<Object> filter(List<Object> objects)
focal_class.identifier: filter
focal_class.modifiers: public
focal_class.parameters: (List<Object> objects)
focal_class.return: List<Object>
focal_class.signature: List<Object> filter(List<Object> objects)
focal_class.superclass: extends LogicalFilter
focal_method.body: public List<Object> filter(List<Object> objects) {
      final List<Object> leftResult = leftFilter.filter(objects);
      final List<Object> rightResult = rightFilter.filter(objects);
      for (final Object object : rightResult) {
        leftResult.remove(object);
      }
      return leftResult;
    }
focal_method.class_method_signature: DiffFilter.filter(List<Object> objects)
focal_method.full_signature: public List<Object> filter(List<Object> objects)
focal_method.identifier: filter
focal_method.invocations: filter filter remove
focal_method.modifiers: public
focal_method.parameters: (List<Object> objects)
focal_method.return: List<Object>
focal_method.signature: List<Object> filter(List<Object> objects)