setupForReset();
SimpleConnection copy = new SimpleConnection();
setResetExpectations();
mockNode1.expects(once()).method("addNodeChangeListener").with(eq(copy));
mockNode2.expects(once()).method("addNodeChangeListener").with(eq(copy));
copy.copyData(connection);
checkResetAssertions(copy);
}
/**
* Sets the expectations for reset().