@Test public void shouldCreateRecursivePathWithoutData() throws Exception { // Given createCommand.recursive = true; // When createCommand.doExecute(curator); // Then verify(createBuilder).creatingParentsIfNeeded(); verify(createBuilder).forPath(createCommand.path); }