Exemplo n.º 1
0
 public void SetUp()
 {
     _createResource = new CreateResourceFake();
     _deleteFeature = new DeleteResource();
     _getResource = new GetResource();
     Runner.SqlCompact("Lemonade").Down();
     Runner.SqlCompact("Lemonade").Up();
 }
Exemplo n.º 2
0
        public void SetUp()
        {
            _createApplication = new CreateApplicationFake();
            _getApplication = new GetApplicationByName();
            _getResource = new GetResource();
            _server = new Server(64978);
            Runner.SqlCompact(ConnectionString).Down();
            Runner.SqlCompact(ConnectionString).Up();

            _bootstrapper = new TestBootstrapper();
            _browser = new Browser(_bootstrapper, context => context.UserHostAddress("localhost"));
        }