public void LaunchAppWithoutDeviceThrowsExcetpion() { AppInfo app = AppBuilderTestExtensions.GetMockAppInfo("FakeApp", PlatformName.WindowsPhone7); Assert.Throws <AppInfo.NoDeviceSpecified>(() => app.LaunchAppOnDevice(null)); }
public void ItShouldAlwaysBePossibleToUseWindowsPlatform() { AppInfo app = AppBuilderTestExtensions.GetMockAppInfo("FakeApp", PlatformName.Windows); Assert.IsNotEmpty(app.AvailableDevices); }