예제 #1
0
        public void LaunchOfAnInvalidAppShouldFail()
        {
            Assert.Throws <Device.StartApplicationFailedOnDevice>(() => device.Launch(null));
            var nonExistingApp = new NonExistingApp();

            Assert.Throws <Device.StartApplicationFailedOnDevice>(() => device.Launch(nonExistingApp));
        }
예제 #2
0
		public void LaunchOfAnInvalidAppShouldFail()
		{
			Assert.Throws<Device.StartApplicationFailedOnDevice>(() => device.Launch(null));
			var nonExistingApp = new NonExistingApp();
			Assert.Throws<Device.StartApplicationFailedOnDevice>(() => device.Launch(nonExistingApp));
		}