📄️ Disposable Mocks
Disposable mocks are temporary and exist only within a with block context. This type of mock is ideal for tests where the mock's lifespan should be limited to a specific scope.
📄️ Persistent Mocks
Persistent mocks remain active until they are explicitly deregistered. This type is useful for scenarios where the mock needs to persist across multiple test cases or parts of the application.