@Test public void nonEmptyModelReturnsAllPointsInTheSameOrderTheyWereAdded() throws Exception { addThreePoints(); assertEquals(Arrays.asList(p1, p2, p3), model.points()); }
public List<Point> points() { return Collections.unmodifiableList(plots); }
PlotMapModel { public List<Point> points() { return Collections.unmodifiableList(plots); } }
PlotMapModel { public List<Point> points() { return Collections.unmodifiableList(plots); }  }
PlotMapModel { public List<Point> points() { return Collections.unmodifiableList(plots); }  void add(Point plot); void remove(Point plot); List<Point> points(); }
PlotMapModel { public List<Point> points() { return Collections.unmodifiableList(plots); }  void add(Point plot); void remove(Point plot); List<Point> points();  }