Ejemplo n.º 1
0
        public void Version_Should_ReturnTheVersionOfTheTestsAssembly_When_AnAssemblyIsNotProvided()
        {
            // Arrange

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

            // Assert
            Assert.NotEqual(string.Empty, actual);
        }
Ejemplo n.º 2
0
        public void Version_Should_ReturnTheVersionOfTheSpecifiedAssembly_When_AnAssemblyIsProvided()
        {
            // Arrange

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

            // Assert
            Assert.NotEqual(string.Empty, actual);
        }