public void Add_NewBoxGetsAddedCorrectly(string name, int x, int y, int width, int height, int screenWidth, int screenHeight) { //Set up DisplayScreen screen = new DisplayScreen(screenWidth, screenHeight); DisplayBox box = new DisplayBox(name, x, y, width, height); //Action screen.Add(box); List <DisplayBox> boxList = screen.GetDisplayBoxes(); //Assert Assert.True(boxList.Count > 0); Assert.True(boxList[0].Name == name); Assert.True(boxList[0].DisplayX == x); Assert.True(boxList[0].DisplayY == y); Assert.True(boxList[0].DisplayWidth == width); Assert.True(boxList[0].DisplayHeight == height); }