thechiselgroup/biomixer — comment on commit fd1cc77f95ac2ffb5977dd4de856d37e84f79bf4
File: biomixer/src/org/thechiselgroup/biomixer/client/visualization_component/graph/widget/GraphSvgDisplay.java line 94
By lgrammel:

This depends on widget initialization, which makes it hard to test (it would be great if we could test interactions in unit tests similar to the ones we have now). This can be separated by managing the event handlers in this class and setting up a forwarding from asWidget once it's initialized. That way, we could have an additional method in GraphSvgDisplay that can be used to fire events from tests (e.g. fireTestEvent(Event e)).