public void TestMethod1() { var subsystem1 = new Subsystem1(); var subsystem2 = new Subsystem2(); var subsystem3 = new Subsystem3(); Facade facade = new Facade(subsystem1, subsystem2, subsystem3); facade.Operation(); }
public Facade(Subsystem1 subsystem1, Subsystem2 subsystem2, Subsystem3 subsystem3) { this.Subsystem1 = subsystem1; this.Subsystem2 = subsystem2; this.Subsystem3 = subsystem3; }