GridLienzoScrollBounds { Stream<GridWidget> getVisibleGridWidgets() { return getGridWidgets() .stream() .filter(IDrawable::isVisible); } GridLienzoScrollBounds(final GridLienzoScrollHandler GridLienzoScrollHandler);   }
@Test public void testGetVisibleGridWidgets() { doReturn(getGridWidgets()).when(defaultGridLayer).getGridWidgets(); final Stream<GridWidget> gridWidgets = gridLienzoScrollBounds.getVisibleGridWidgets(); assertEquals(3, gridWidgets.count()); }