public void SetUp() {
     _settings =
         A.Fake<RealVirtualitySettings>(
             o =>
                 o.WithArgumentsForConstructor(new Object[]
                 {Guid.NewGuid(), A.Fake<RealVirtualityStartupParameters>(), A.Fake<GameSettingsController>()}));
     _settings.Directory = @"C:\temp".ToAbsoluteDirectoryPath();
     _game = new TestRealVirtualityGame(Guid.NewGuid(), _settings);
 }
Exemplo n.º 2
0
 public void SetUp()
 {
     _settings =
         A.Fake <RealVirtualitySettings>(
             o =>
             o.WithArgumentsForConstructor(new Object[]
                                           { Guid.NewGuid(), A.Fake <RealVirtualityStartupParameters>(), A.Fake <GameSettingsController>() }));
     _settings.Directory = @"C:\temp".ToAbsoluteDirectoryPath();
     _game = new TestRealVirtualityGame(Guid.NewGuid(), _settings);
 }