init
This commit is contained in:
27
DataPRO/StateMachine.Tests/States/ConfigureShould.cs
Normal file
27
DataPRO/StateMachine.Tests/States/ConfigureShould.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using DTS.DASLib.Service.StateMachine;
|
||||
using NUnit.Framework;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StateMachine.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class ConfigureShould
|
||||
{
|
||||
[Test]
|
||||
public void StateSelector_Should_ReturnConfigureStart()
|
||||
{
|
||||
//Arrange
|
||||
var sut = new Configure();
|
||||
|
||||
//Act
|
||||
var dasState = sut.StateSelector();
|
||||
|
||||
// Assert
|
||||
Assert.That(dasState.State, Is.EqualTo(State.ConfigureStart));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user