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

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

            // Assert
            action.Should().NotThrow();
        }
示例#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();
        }