Table of Contents

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
DomHelper
DomHelperMock
Inherited Members
DomHelper.StitchDomInstances(List<DomInstance>)
DomHelper.StitchDomInstances(List<DomInstance>, List<SectionDefinition>, List<DomDefinition>)
DomHelper.SectionDefinitions
DomHelper.DomInstances
DomHelper.DomTemplates
DomHelper.DomDefinitions
DomHelper.DomInstanceHistory
DomHelper.DomBehaviorDefinitions
DomHelper.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.