@Test public void testDefaultValue() throws Exception { sh = SocketHints.Inputs.createNumberSliderSocketHint("foo", TEST_VALUE, 0.0, 1.0); socket = new OutputSocketImpl<>(eventBus, sh); assertEquals(TEST_VALUE, socket.getValue().get()); }
@Test public void testSetValue() throws Exception { socket.setValue(TEST_VALUE); assertEquals(TEST_VALUE, socket.getValue().get()); }