assertNullPointerException(() -> vertx.fileSystem().readFileSync(null));
assertNullPointerException(() -> vertx.fileSystem().writeFile(null, Buffer.buffer(), h -> {}));
assertNullPointerException(() -> vertx.fileSystem().writeFile("ignored", null, h -> {}));
assertNullPointerException(() -> vertx.fileSystem().writeFileSync(null, Buffer.buffer()));
assertNullPointerException(() -> vertx.fileSystem().writeFileSync("ignored", null));
assertNullPointerException(() -> vertx.fileSystem().open(null, new OpenOptions(), h -> {}));
assertNullPointerException(() -> vertx.fileSystem().open("ignored", null, h -> {}));
assertNullPointerException(() -> vertx.fileSystem().openSync(null, new OpenOptions()));
assertNullPointerException(() -> vertx.fileSystem().openSync("ignored", null));
assertNullPointerException(() -> vertx.fileSystem().createFile(null, h -> {}));
assertNullPointerException(() -> vertx.fileSystem().createFileSync(null));
assertNullPointerException(() -> vertx.fileSystem().createFile(null, "ignored", h -> {}));
assertNullPointerException(() -> vertx.fileSystem().createFileSync(null, "ignored"));
assertNullPointerException(() -> vertx.fileSystem().exists(null, h -> {}));
assertNullPointerException(() -> vertx.fileSystem().existsSync(null));
assertNullPointerException(() -> vertx.fileSystem().fsProps(null, h -> {}));
assertNullPointerException(() -> vertx.fileSystem().fsPropsSync(null));
String fileName = "some-file.dat";
AsyncFile asyncFile = vertx.fileSystem().openSync(testDir + pathSep + fileName, new OpenOptions());
assertNullPointerException(() -> asyncFile.write(null));
assertIllegalArgumentException(() -> asyncFile.setWriteQueueMaxSize(1));
assertIllegalArgumentException(() -> asyncFile.setWriteQueueMaxSize(0));
assertIllegalArgumentException(() -> asyncFile.setWriteQueueMaxSize(-1));