String expectedLine = (String) lines.get(i);
String actualLine = (String) lineProxy.getModelObject();
assertEquals("Line " + i, expectedLine, actualLine);
}
ProxyModelChangedEvent event = new ProxyModelChangedEvent(
firstNameProxy, "Fred", "Wilma", true);
deepListenerMock.expects.proxyModelChanged(event);
value = firstNameProxy.setModelObject("Wilma");
assertEquals("old value", "Fred", value);