public void AddCase_ValidCase_ReturnsComputerWithACase() { // Arrange ComputerBuilder computerBuilder = new ComputerBuilder(); // Act Case myCase = new Case(15, 15, 15, 2, 2); computerBuilder.AddCase(myCase); var builder = computerBuilder.Build(); // Assert Assert.AreEqual(builder.PCCase, myCase); }
public void CreateComputer(ComputerBuilder computerBuilder) { computerBuilder.AddCase(); computerBuilder.AddMotherboardWithProcessor(); }