Also look at the Javadoc for org.hamcrest.Matchers.
On 02/11/2007, Eugeny N Dzhurinsky <bo...@redwerk.com> wrote:
I would like to test the implementation of my custom TableModel (Swing). In
this model it is possible to fire events when something was changed in the
table. At this point TableModelListener interface is used, in particular -
it's method tableChanged which accepts TableModelEvent.
I am creating the mock for the TableModelListener and register it in
TableModel, then I would like to test if the argument of the method
tableChanged has certain property set to certain value.
Could somebody please explain or point me to documentation where I could find
such trick described?