Exemplo n.º 1
0
        public void Type_TestingTypeIsPublic_TypeIsSavedInClass()
        {
            GiftType target = new GiftType();
            target.Type = testString;

            Assert.AreEqual(testString, target.Type);
        }
Exemplo n.º 2
0
        public void GiftType_AddCategory_OneCategoryInStyle()
        {
            Artwork artwork = new Artwork();
            GiftType target = new GiftType();
            target.Artworks.Add(artwork);

            Assert.AreEqual(1, target.Artworks.Count);
        }
Exemplo n.º 3
0
        public void GiftTypeConstructor_Null_NoArtworksCreated()
        {
            GiftType target = new GiftType();

            Assert.AreEqual(0, target.Artworks.Count);
        }