示例#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();
 }