Exemplo n.º 1
0
        public void Name_Should_ReturnTheTheNameOfTheUnittestAssembly_When_AnAssemblyIsNotProvided()
        {
            // Arrange

            // Act
            var actual = AssemblyProperties.Name(typeof(AssemblyPropertiesTests).Assembly.Location);

            // Assert
            Assert.Equal("UnitTests", actual);
        }
Exemplo n.º 2
0
        public void Name_Should_ReturnTheNameOfTheUnittestAssembly_When_AnAssemblyIsProvided()
        {
            // Arrange

            // Act
            var actual = AssemblyProperties.Name(_toolkitLibraryPath);

            // Assert
            Assert.Equal("ToolKit-Windows", actual);
        }