public void TestMethod1() { IProgrammer programmer = new Programmer(); IProductOwner po = new ProductOwner(); programmer.Setname("Fran"); po.Setname("Fran"); var employee1 = new Employee(programmer); var employee2 = new Employee(po); var obtained = employee1.WriteNameEmployee(); var obtained2 = employee2.WriteNameEmployee(); Assert.AreEqual(obtained, programmer.Getname()); Assert.AreEqual(obtained2, po.Getname()); }