public static void AssertTomoatoesProperties(Tomatoes tomatoes) { Assert.IsNotNull(tomatoes.BoxOffice); Assert.IsNotNull(tomatoes.DVD); Assert.IsNotNull(tomatoes.Production); Assert.IsNotNull(tomatoes.tomatoConsensus); Assert.IsNotNull(tomatoes.tomatoFresh); Assert.IsNotNull(tomatoes.tomatoImage); Assert.IsNotNull(tomatoes.tomatoMeter); Assert.IsNotNull(tomatoes.tomatoRating); Assert.IsNotNull(tomatoes.tomatoReviews); Assert.IsNotNull(tomatoes.tomatoRotten); Assert.IsNotNull(tomatoes.tomatoUserMeter); Assert.IsNotNull(tomatoes.tomatoUserRating); Assert.IsNotNull(tomatoes.tomatoUserReviews); Assert.IsNotNull(tomatoes.Website); }
private void btn_Tomatoes_Click(object sender, RoutedEventArgs e) { Tomatoes tomatoes = new Tomatoes(); tomatoes.Show(); }