*/
public class WindowEventQueueMapping_eventQueues_Test extends WindowEventQueueMapping_withWindow_TestCase {
@Test
public void should_return_EventQueues() {
EventQueue anotherEventQueue = new EventQueue();
ToolkitStub anotherToolkit = newToolkitStub(anotherEventQueue);
MyWindow anotherWindow = MyWindow.createNew(anotherToolkit, getClass());
mapping.addQueueFor(window);
mapping.addQueueFor(anotherWindow);
Collection<EventQueue> eventQueues = mapping.eventQueues();
assertThat(eventQueues).containsOnly(eventQueue, anotherEventQueue);