### Question:
FixedUncheckedSimpleCollection implements SimpleCollection<E> { @Override public int size() { return array.length; } FixedUncheckedSimpleCollection(Object[] array); @Override int size(); @Override boolean isEmpty(); @Override Iterator<E> structuralIterator(); @Override Iterator<E> iterator();  }### Answer:
@Test public void stream() { final SimpleCollection<String> collection = new FixedUncheckedSimpleCollection<>(new String[] {"a", "b"}); final Stream<String> stream = collection.stream(); final List<String> streamed = stream.collect(Collectors.toList()); assertEquals(2, streamed.size()); assertEquals("a", streamed.get(0)); assertEquals("b", streamed.get(1)); }