Ejemplo n.º 1
0
        public void GetCorrectCommandStrategy(string command, Type expectedType)
        {
            _sut = new CommandStrategiesFactory();

            var strategy = _sut.GetCommandStrategy(command);

            strategy.GetType().Should().Be(expectedType);
        }
Ejemplo n.º 2
0
 public void BeValid()
 {
     _sut = new CommandStrategiesFactory();
 }