public void TestFixtureSetUp()
 {
     _connectionstringArgumentsMapper = new ConnectionstringArgumentsMapper();
 }
        public void TestFixtureSetUp()
        {
            _connectionstringBuilder = MockRepository.GenerateStub<IConnectionstringBuilder>();

            _connectionstring = "validConnectionstring";
            _connectionstringBuilder.Expect(csb => csb.BuildConnectionString(Arg<SqlServerConnectionstringArguments>.Is.Anything)).Return(_connectionstring);

            _connectionstringArgumentsMapper = MockRepository.GenerateStub<IConnectionstringArgumentsMapper>();
            _connectionstringArgumentsMapper.Expect(csa => csa.Map(Arg<string>.Is.Anything, Arg<string>.Is.Anything, Arg<string>.Is.Anything, Arg<string>.Is.Anything, Arg<string>.Is.Anything, Arg<string>.Is.Anything)).Return(new SqlServerConnectionstringArguments());
        }
 public DatabaseSchemaExplorerController(IConnectionstringArgumentsMapper connectionstringArgumentsMapper, IDatabaseSchemaExplorer schemaExplorer)
 {
     _connectionstringArgumentsMapper = connectionstringArgumentsMapper;
     _schemaExplorer = schemaExplorer;
 }
        public void SetUp()
        {
            _connectionstringArgumentsMapper = MockRepository.GenerateStub<IConnectionstringArgumentsMapper>();

            _databaseSchemaExplorer = MockRepository.GenerateStub<IDatabaseSchemaExplorer>();
        }
 public void SetUp()
 {
     _connectionstringArgumentsMapper = new SqlServerConnectionstringArgumentsMapper();
 }