Class DomHelperMock
- Namespace
- Skyline.DataMiner.Utils.DOM.UnitTesting
- Assembly
- Skyline.DataMiner.Utils.DOM.dll
Represents a mock implementation of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomHelper for unit testing purposes.
public class DomHelperMock : DomHelper
- Inheritance
-
DomHelperDomHelperMock
- Inherited Members
-
DomHelper.SectionDefinitionsDomHelper.DomInstancesDomHelper.DomTemplatesDomHelper.DomDefinitionsDomHelper.DomInstanceHistoryDomHelper.DomBehaviorDefinitionsDomHelper.ModuleId
- Extension Methods
Methods
- Create()
Creates a new instance of DomHelperMock.
- Create(IEnumerable<DomInstance>)
Creates a new instance of DomHelperMock 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.