# Use testable classes

You can use testable classes to mock the behavior of class internal logic.

> success  **EXAMPLE**: If you a class like the `OperationClass.cs` in Sitefinity [documentation-samples](https://github.com/Sitefinity-SDK/document) on GitHub, you can implement a testable class for the `OperationClass` and override the `IsReadOnlyEnabled` method. For more information, see `TestableOperationClass.cs` in the same repository.
