Requirement: If any file has protection(Sensitivity label) then we are throwing an error message.
Before we go and do our actual implementation, I want to achieve this using TDD approach.
Please let me clarify whether the below steps can we achieve using unit test with C#?
- Is it possible to write unit test on this MIP? If yes,
- Through program , I want to read the file(.pdf or office app files) and apply sensitivity label before using MIP Code.
- Once it reaches MIP code snippet ,this should detect this file and it has protection.
- If it is protected then should throw an error message or else skip the execution.