public RestServerRule notifyRule = new RestServerRule("http://0.0.0.0:5879", notifyResource);
@Test
public void should_notify_on_state_change() throws Exception {
RestMcuBoardSettings boardSettings = new RestMcuBoardSettings();
boardSettings.setNotifyUrl("http://" + NetworkUtils.getFirstNonWifiIp() + ":5879/");
restmcu.getBoardResource().setBoardSettings(boardSettings);
RestMcuLineResource lineResource = restmcu.getLineResource();
RestMcuLineSettings settings = new RestMcuLineSettings();
settings.setNotifies(Arrays.asList(new RestMcuLineNotify(RestMcuLineNotifyCondition.SUP_OR_EQUAL, 1f)));
lineResource.setLineSettings(54, settings);