/// <summary>
 /// Defines the program entry point. 
 /// </summary>
 /// <param name="args">An array of <see cref="T:System.String"/> containing command line parameters.</param>
 private static void Main(string[] args)
 {
     IDependency1 test1 = new Dependency1();
     IDependency2 test2 = new Dependency2();
     IDependency3 test3 = new Dependency3();
     Dependent test = new Dependent(test1, test2, test3);
     Console.WriteLine(test.DoSomeATestWorkWithConstructorInjection());
     Console.ReadLine();
 }
 public void TestMethod1()
 {
     string expected = "God - is - great.";
     TestDependency1 testDependency1 = new TestDependency1();
     TestDependency2 testDependency2 = new TestDependency2();
     TestDependency3 testDependency3 = new TestDependency3();
     Dependent dependent = new Dependent(testDependency1, testDependency2, testDependency3);
     string actual = dependent.DoSomeATestWorkWithConstructorInjection();
     Assert.AreEqual(expected, actual);
 }