Exemple #1
0
        public void UnicodeCommands()
        {
            // Arrange
            var commandDefinitions = new CommandDefinitionService(new NullLog());

            // Act
            Action action = () => commandDefinitions.Load(typeof(Cömmand));

            // Assert
            action.Should().NotThrow();
        }
Exemple #2
0
        public void UnicodeCommands()
        {
            // Arrange
            var commandDefinitions = new CommandDefinitionService(
                Mock <ILogger <CommandDefinitionService> >(),
                Mock <ILoadedVersionedTypes>());

            // Act
            Action action = () => commandDefinitions.Load(typeof(Cömmand));

            // Assert
            action.Should().NotThrow();
        }