public void CreateComputerCheckName() { AbstractFactory abstractFactoryP = new FactoryFA(PolandFactory.Instance); var computer = abstractFactoryP.CreateComputer(); Assert.AreEqual("SuperComputer", computer.ComputerName); }
public void CreateComputerCheckIsNotNull() { AbstractFactory abstractFactory = new FactoryFA(PolandFactory.Instance); var computer = abstractFactory.CreateComputer(); Assert.IsNotNull(computer); }