Beispiel #1
0
        public void Name_Generated_UsesGroupAndClassName()
        {
            var command = new GeneratedNameTestCommand("test");

            Assert.Equal("test.GeneratedNameTest", command.Name);
        }
Beispiel #2
0
        public void Name_Generated_StripsCommandFromClassName()
        {
            var command = new GeneratedNameTestCommand("test");

            Assert.False(command.Name.EndsWith("Command"));
        }
Beispiel #3
0
        public void Name_Generated_ReplacesDotsWithDashesInGroup()
        {
            var command = new GeneratedNameTestCommand("test.test");

            Assert.Equal("test-test.GeneratedNameTest", command.Name);
        }