예제 #1
0
        public void Volume_When_Letter_Empty_Throws_Exception()
        {
            Action action = () => SmartFolder.Volume(string.Empty);

            action.Should().Throw <ArgumentException>();
        }
예제 #2
0
        public void Easy_Creation_Of_Path()
        {
            var sut = SmartFolder.Volume("C") + "Windows" + "Temp";

            sut.ToString().Should().Be(@"C:\Windows\Temp\");
        }
예제 #3
0
        public void Volume_When_Letter_Null_Throws_Exception()
        {
            Action action = () => SmartFolder.Volume(null);

            action.Should().Throw <ArgumentNullException>();
        }