use of com.twosigma.beakerx.widget.DirectionalLink in project beakerx by twosigma.
the class DirectionalLinkTest method createWithFourParams_shouldSendCommOpenMessage.
@Test
public void createWithFourParams_shouldSendCommOpenMessage() throws Exception {
// given
Widget source = new IntSlider();
Widget target = new Text();
kernel.clearPublishedMessages();
// when
new DirectionalLink(source, "source", target, "target");
// then
Assertions.assertThat(SearchMessages.getListWidgetsByModelName(kernel.getPublishedMessages(), DirectionalLink.MODEL_NAME_VALUE)).isNotEmpty();
}
Aggregations