RCLJava { public static boolean ok() { return nativeOk(); } private  RCLJava(); static boolean isInitialized(); static void rclJavaInit(); static String getRMWIdentifier(); static boolean ok(); static Node createNode(final String nodeName); static Node createNode(final String nodeName, final String namespace); static void spin(final Node node); static void spin(final ComposableNode composableNode); static void spinOnce(final Node node); static void spinOnce(final ComposableNode composableNode); static void spinSome(final Node node); static void spinSome(final ComposableNode composableNode); static void shutdown(); static long convertQoSProfileToHandle(final QoSProfile qosProfile); static void disposeQoSProfile(final long qosProfileHandle);  }
@Test public final void testOk() { RCLJava.rclJavaInit(); assertEquals(true, RCLJava.ok()); RCLJava.shutdown(); assertEquals(false, RCLJava.ok()); }