IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
You can use testable classes to mock the behavior of class internal logic.
When you have the following code:
You can implement a testable class for the OperationClass and override the IsReadOnlyEnabled method in the following way:
OperationClass
IsReadOnlyEnabled
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important