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/CollectionItemTest.java
test_class.identifier: CollectionItemTest
test_case.body: @Test
    @SuppressWarnings("unchecked")
    public void filter() {
      Item item = new Item(2);
      List<Item> items = new ArrayList<Item>();
      items.add(item);
      CollectionItem<Item> collectionItem = new CollectionItem<Item>(items);
      doReturn(items).when(filter).filter(anyList());
      Collection<Item> filteredItems = collectionItem.filter(filter);
      assertTrue(filteredItems.contains(item));
    }
test_case.class_method_signature: CollectionItemTest.filter()
test_case.full_signature: @Test @SuppressWarnings("unchecked") public void filter()
test_case.identifier: filter
test_case.invocations: add filter when doReturn anyList filter assertTrue contains
test_case.modifiers: @Test @SuppressWarnings("unchecked") public
test_case.parameters: ()
test_case.return: void
test_case.signature: void filter()
focal_class.declarator: objects
focal_class.modifier: private
focal_class.original_string: private List<? extends V> objects;
focal_class.type: List<? extends V>
focal_class.var_name: objects
focal_class.file: imcache-core/src/main/java/com/cetsoft/imcache/cache/CollectionItem.java
focal_class.identifier: CollectionItem
focal_class.interfaces: implements CacheItem<Collection<V>>
focal_class.class_method_signature: CollectionItem.CollectionItem(Collection<? extends V> objects)
focal_class.full_signature: public  CollectionItem(Collection<? extends V> objects)
focal_class.identifier: CollectionItem
focal_class.modifiers: public
focal_class.parameters: (Collection<? extends V> objects)
focal_class.signature:  CollectionItem(Collection<? extends V> objects)
focal_class.class_method_signature: CollectionItem.getValue()
focal_class.full_signature: @SuppressWarnings("unchecked") public Collection<V> getValue()
focal_class.identifier: getValue
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: ()
focal_class.return: Collection<V>
focal_class.signature: Collection<V> getValue()
focal_class.class_method_signature: CollectionItem.filter(Filter filter)
focal_class.full_signature: @SuppressWarnings("unchecked") public Collection<V> filter(Filter filter)
focal_class.identifier: filter
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (Filter filter)
focal_class.return: Collection<V>
focal_class.signature: Collection<V> filter(Filter filter)
focal_method.body: @SuppressWarnings("unchecked")
    public Collection<V> filter(Filter filter) {
      List<Object> filteredObjects = filter.filter((List<Object>) objects);
      return (Collection<V>) filteredObjects;
    }
focal_method.class_method_signature: CollectionItem.filter(Filter filter)
focal_method.full_signature: @SuppressWarnings("unchecked") public Collection<V> filter(Filter filter)
focal_method.identifier: filter
focal_method.invocations: filter
focal_method.modifiers: @SuppressWarnings("unchecked") public
focal_method.parameters: (Filter filter)
focal_method.return: Collection<V>
focal_method.signature: Collection<V> filter(Filter filter)