/**
* Ensure that clashing fuzzy methods are correctly handled.
*/
public void testListExpectations() {
ListMock listMock = new ListMock("listMock", expectations);
listMock.fuzzy.remove(ListMock._getMethodIdentifier("remove(java.lang.Object)"), this).returns(false);
assertFalse(listMock.remove(this));
listMock.fuzzy.remove(ListMock._getMethodIdentifier("remove(int)"), new Integer(4))
.returns(this);
assertSame(this, listMock.remove(4));
}