@Test
@Ignore
public final void testSpinOnce() {

    logger.debug(new Object(){}.getClass().getEnclosingMethod().getName());
    boolean test = true;
    try {
        this.initRCLjava();
        final Node node = RCLJava.createNode("_" + RCLJavaTest.class.getSimpleName());
        final Publisher<Bool> publisher = node.createPublisher(Bool.class, RCLJavaTest.TEST_TOPIC);
        final Bool msg = new Bool();
        msg.setData(true);
        final RCLFuture<Bool> future = new RCLFuture<Bool>(new WeakReference<Node>(node));
        final Subscription<Bool> subscription = node.createSubscription(
                Bool.class, RCLJavaTest.TEST_TOPIC, new TestConsumer<Bool>(future));
        new Thread(new Runnable() {
            @Override
            public void run() {
                RCLJava.spinOnce(node);
            }
        }).start();
        while (RCLJava.ok() && !future.isDone()) {
            publisher.publish(msg);
        }
        final Bool value = future.get();
        Assert.assertNotNull(value);
        publisher.dispose();
        subscription.dispose();
        node.dispose();
        this.releaseRCLjava();
    } catch (Exception e) {
        test = false;
    }
    Assert.assertTrue(ERROR_RUNTIME, test);
}