AbstractCellularAutomaton implements CellularAutomaton<T> { @Override public final int getSizeY() { return gridSizeY; } AbstractCellularAutomaton(int gridSizeX, int gridSizeY); protected  AbstractCellularAutomaton(Parcel in); @Override void setRule(Rule<T> rule); @Override Rule<T> getRule(); @Override final int getSizeX(); @Override final int getSizeY(); @Override void reset(); @Override int getDefaultCellState(); @Override void randomFill(Fill fill); @Override void step(int count); @Override void step(); @Override final Grid<T> getCurrentState(); @Override @DebugLog void setState(Grid<T> grid); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); @Override void paint(int x, int y, int state);  }
@Test public void testGetSizeY() { assertThat(automaton.getSizeY()).isEqualTo(5); }