public void TestCenter() { var binder = Substitute.For<Remoting.ISoulBinder>(); var finder = Substitute.For<IAccountFinder>(); var record = Substitute.For<IGameRecorder>(); var center = new Center(finder, record); Updater updater = new Updater(); center.Join(binder); updater.Add(center); updater.Working(); updater.Shutdown(); }
private void _Play(BuildCenterStage.ExternalFeature features) { this._Center = new Center( features.AccountFinder, features.GameRecorder ); this._Updater.Add(this._Center); }