assertCanConnect(false, filter, otherwise);
// now lets check we can't connect to something we've already connected in the other direction
assertCanConnect(true, endpoint, filter);
assertCanConnect(true, filter, endpoint);
endpoint.addTargetNode(filter);
assertCanConnect(false, endpoint, filter);
assertCanConnect(false, filter, endpoint);
// we should still be able to connect this filter to another output
assertCanConnect(true, filter, bean);