StreamList { public PublishSubject<T> getStream() { return onAdd; } StreamList(); void add( T item ); PublishSubject<T> getStream();  }
@Test public void testGetStream() { assertEquals( streamList.onAdd, streamList.getStream() ); }