/**
   * Retrieves the project that matches the specified id.
   *
   * @param projectId The id to match.
   * @return A Project instance or null if the id supplied was invalid or could not be matched.
   */
  public FreeAgentProject getProject(String projectId) {
    if (projectId != null && !projectId.isEmpty()) {
      FreeAgentProjectWrapper projectWrapper = freeAgentServiceInstance.getProject(projectId);

      if (projectWrapper != null) {
        return projectWrapper.getProject();
      }
    }
    return null;
  }