### Question:
PrimitiveLongResourceCollections { public static PrimitiveLongResourceIterator iterator(Resource resource, final long... items) { return resourceIterator(PrimitiveLongCollections.iterator(items), resource); }  static PrimitiveLongResourceIterator emptyIterator(); static PrimitiveLongResourceIterator iterator(Resource resource, final long... items); static PrimitiveLongResourceIterator concat(PrimitiveLongResourceIterator... primitiveLongResourceIterators); static PrimitiveLongResourceIterator concat(Iterable<PrimitiveLongResourceIterator> primitiveLongResourceIterators); static PrimitiveLongResourceIterator filter(PrimitiveLongResourceIterator source, LongPredicate filter);  }### Answer:
@Test void simpleIterator() { CountingResource resource = new CountingResource(); PrimitiveLongResourceIterator iterator = PrimitiveLongResourceCollections.iterator(resource, 1, 2, 3, 4); assertContent(iterator, 1, 2, 3, 4); iterator.close(); assertEquals(1, resource.closeCount(), "exactly one call to close"); }