public void InstanceOK() { //create an instance of the class we want to create clsShoeCollection AllShoe = new clsShoeCollection(); //test to see that it exists Assert.IsNotNull(AllShoe); }
public void ShoeListOK() { //create an instance of the class we want to create clsShoeCollection AllShoe = new clsShoeCollection(); //create some test data to assign to the property //in this case the data needs to be a list of object List <clsShoeCollection> TestList = new List <clsShoeCollection>(); //add an item to the list //create the item of test data clsShoeCollection TestItem = new clsShoeCollection(); //set its properties TestItem.Active = true; TestItem.Brand = "some brand"; TestItem.Colour = "some colour"; TestItem.Size = 1; TestItem. }