예제 #1
0
  @Test
  public void shouldCreateRecursivePathWithoutData() throws Exception {
    // Given
    createCommand.recursive = true;

    // When
    createCommand.doExecute(curator);

    // Then
    verify(createBuilder).creatingParentsIfNeeded();
    verify(createBuilder).forPath(createCommand.path);
  }