public void CardEnsurePropertiesWork()
 {
     Color color = new Color { Name = "Blue", Value = "#0000ff" };
     // Object Initializer syntax
     Card c = new Card { Title = "My Card", Description = "A description of my card", BorderColor = color};
     // Otherwise you'd have to
     Assert.AreEqual("My Card", c.Title);
     Assert.AreEqual("A description of my card", c.Description);
     Assert.AreEqual("Blue", c.BorderColor.Name);
 }
 public void BrelloListEnsurePropertiesWork()
 {
     Card card1 = new Card { Title = "My Card" };
     List<Card> list_of_cards = new List<Card>();
     list_of_cards.Add(card1);
     BrelloList list = new BrelloList { Title = "My List",
                                        BrelloListId = 1,
                                        CreatedAt = DateTime.Parse("2015-01-02"),
                                        Cards = list_of_cards };
     Assert.AreEqual("My List", list.Title);
     Assert.AreEqual(1, list.Cards.Count);
 }
 public void CardEnsureICanCreateInstance()
 {
     Card c = new Card();
     Assert.IsNotNull(c);
 }