28 lines
630 B
Plaintext
28 lines
630 B
Plaintext
|
|
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));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|