public void TestDependency()
{
if (AbstractDependency != null) AbstractDependency.Method();
if (SetAbstractDependency != null) SetAbstractDependency.Method();
if (ConcreteDependency != null) ConcreteDependency.VirtualMethod();
if (SetConcreteDependency != null) SetConcreteDependency.VirtualMethod();
}