Beispiel #1
0
        public void TestMethod()
        {
            var manager = new TeacherManager();

            manager.AddTeacher("Bo");

            var s = new School(manager);

            var actualResult   = s.DoSomeStuffWhereWeAddATeacher();
            var expectedResult = "Bo";

            var assertion = actualResult == expectedResult;
        }
Beispiel #2
0
 public School(TeacherManager manager)
 {
     Manager = manager;
 }
Beispiel #3
0
 public School()
 {
     Manager = new TeacherManager();
 }