예제 #1
0
        public void GetCorrectCommandStrategy(string command, Type expectedType)
        {
            _sut = new CommandStrategiesFactory();

            var strategy = _sut.GetCommandStrategy(command);

            strategy.GetType().Should().Be(expectedType);
        }
예제 #2
0
 public void BeValid()
 {
     _sut = new CommandStrategiesFactory();
 }