getVertx().sharedData().getCounter("foo", ar -> {
Counter counter = ar.result();
assertNullPointerException(() -> counter.get(null));
assertNullPointerException(() -> counter.incrementAndGet(null));
assertNullPointerException(() -> counter.getAndIncrement(null));
assertNullPointerException(() -> counter.decrementAndGet(null));
assertNullPointerException(() -> counter.addAndGet(1, null));
assertNullPointerException(() -> counter.getAndAdd(1, null));
assertNullPointerException(() -> counter.compareAndSet(1, 1, null));
testComplete();
});