// The item should be detached from the list.
itemProxyMock.expects.detach();
// Should cause an event to be sent to listeners on the object.
RemovedFromListEvent event =
new RemovedFromListEvent(listProxy, 0, 0, true);
listenerMock.expects.removedFromList(event);
// Should also cause an event to be sent to the parent proxy.
parentProxyMock.expects.fireEvent(event);