@Test public void getListWorkspacesPathTest() { final String path = getWorkspacePath(getOrganizationName.getOrganizationName()); assertEquals(EXPECTED_LIST_WORKSPACES_PATH, path); }
@NotNull public static String getWorkspacePath(@NotNull final String organizationName) { StringBuilder pathString = new StringBuilder() .append(API) .append(API_VERSION) .append(ORGANIZATION_PATH) .append(organizationName) .append(WORKSPACE_PATH); return pathString.toString(); }
WorkspaceImpl { @NotNull public static String getWorkspacePath(@NotNull final String organizationName) { StringBuilder pathString = new StringBuilder() .append(API) .append(API_VERSION) .append(ORGANIZATION_PATH) .append(organizationName) .append(WORKSPACE_PATH); return pathString.toString(); } }
WorkspaceImpl { @NotNull public static String getWorkspacePath(@NotNull final String organizationName) { StringBuilder pathString = new StringBuilder() .append(API) .append(API_VERSION) .append(ORGANIZATION_PATH) .append(organizationName) .append(WORKSPACE_PATH); return pathString.toString(); }  }
WorkspaceImpl { @NotNull public static String getWorkspacePath(@NotNull final String organizationName) { StringBuilder pathString = new StringBuilder() .append(API) .append(API_VERSION) .append(ORGANIZATION_PATH) .append(organizationName) .append(WORKSPACE_PATH); return pathString.toString(); }  @NotNull static Map<String, String> createWorkspace(@NotNull final TerraformWorkspaceInputs createWorkspaceInputs); @NotNull static Map<String, String> deleteWorkspace(@NotNull final TerraformWorkspaceInputs deleteWorkspaceInputs); @NotNull static Map<String, String> listWorkspaces(@NotNull final TerraformCommonInputs listWorkspacesInputs); @NotNull static Map<String, String> getWorkspaceDetails(@NotNull final TerraformWorkspaceInputs
                                                                  getWorkspaceDetailsInputs); @NotNull static String getWorkspacePath(@NotNull final String organizationName); @NotNull static String getWorkspaceDetailsPath(@NotNull final String organizationName,
                                                 @NotNull final String workspaceName); @NotNull static String createWorkspaceBody(TerraformWorkspaceInputs createWorkspaceInputs, String delimiter); }
WorkspaceImpl { @NotNull public static String getWorkspacePath(@NotNull final String organizationName) { StringBuilder pathString = new StringBuilder() .append(API) .append(API_VERSION) .append(ORGANIZATION_PATH) .append(organizationName) .append(WORKSPACE_PATH); return pathString.toString(); }  @NotNull static Map<String, String> createWorkspace(@NotNull final TerraformWorkspaceInputs createWorkspaceInputs); @NotNull static Map<String, String> deleteWorkspace(@NotNull final TerraformWorkspaceInputs deleteWorkspaceInputs); @NotNull static Map<String, String> listWorkspaces(@NotNull final TerraformCommonInputs listWorkspacesInputs); @NotNull static Map<String, String> getWorkspaceDetails(@NotNull final TerraformWorkspaceInputs
                                                                  getWorkspaceDetailsInputs); @NotNull static String getWorkspacePath(@NotNull final String organizationName); @NotNull static String getWorkspaceDetailsPath(@NotNull final String organizationName,
                                                 @NotNull final String workspaceName); @NotNull static String createWorkspaceBody(TerraformWorkspaceInputs createWorkspaceInputs, String delimiter);  }