LagartoCommand implements ExecutableCommand, EventListener { @Override public void send() { try { httpRequest(); } catch (LagartoException ex) { ex.logError(); } } LagartoCommand(String networkName, String id, String value); @Override void setSensor(Sensor sensor); @Override void stop(Sensor sensor); @Override void send();  }
@Test public void testSendNPE_ORCJAVA_346() { LagartoCommand cmd = new LagartoCommand( "test_network_name", "test_endpoint_id", "test_endpoint_value" ); cmd.send(); }