Skip to content

Refactor CopyPermissionHelper to use an Interface for DI purposes #357

@lxatstariongroup

Description

@lxatstariongroup

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the COMET-SDK
  • I have searched open and closed issues to ensure it has not already been reported

Description

Creating tests for classes using CopyPermissionHelper is quite cumbersome, because there is a lot of logic in the CopyPermissionHelper that needs correct setup for each test. For example CopyCreator that has versions in in CDP4-COMET-IME and and CDP4-COMET-WEB.
Extra wrapper classes (Class+Interface) could be created, wrapping and therefore hiding the CopyPermissionHelper implementation could be a solution, but it might be better to provide this in SDK, using a to be created interface ICopyPermissionHelper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions