using Quadarax.Foundation.Core.Object; using Quadarax.Foundation.Core.QConsole.Context; using System.IO.Abstractions; namespace qdr.fnd.core.qconsole.test.Contexts { internal class BasicCommandContext : DisposableObject, ICommandContext { private IFileSystem? _fileSystem; public IFileSystem FileSystem => _fileSystem ?? new FileSystem(); public string Status => "READY"; public BasicCommandContext(IFileSystem fileSystem) { _fileSystem = fileSystem; } protected override void OnDisposing() { _fileSystem = null; } } }