Class DomCacheMock
- Namespace
- Skyline.DataMiner.Utils.DOM.UnitTesting
- Assembly
- Skyline.DataMiner.Utils.DOM.dll
Represents a mock implementation of the DomCache for unit testing purposes.
public class DomCacheMock : DomCache
- Inheritance
-
DomCacheMock
- Inherited Members
- Extension Methods
Constructors
- DomCacheMock(DomHelperMock)
Initializes a new instance of the DomCacheMock class with a specified DomHelperMock.
Methods
- Create()
Creates a new instance of DomCacheMock.
- Create(IEnumerable<DomInstance>)
Creates a new instance of DomCacheMock with pre-defined instances.
- SetBehaviorDefinitions(IEnumerable<DomBehaviorDefinition>)
Sets the behavior definitions in the mock.
- SetDefinitions(IEnumerable<DomDefinition>)
Sets the definitions in the mock.
- SetInstances(IEnumerable<DomInstance>)
Sets the instances in the mock.
- SetSectionDefinitions(IEnumerable<SectionDefinition>)
Sets the section definitions in the mock.