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