Ejemplo n.º 1
0
        public void Init()
        {
            _repository = new DocumentDbRepository(new TestEnvironmentDefinition());
            _userRegistrationReferenceProviderMock = new UserRegistrationReferenceProviderMock();

            _userPhotoController = new UserPhotoController(_repository, new TelemetryClient(),
                                                           _userRegistrationReferenceProviderMock);
        }
 public void Initialize()
 {
     //Arrange
     controller = new UserPhotoController(new UserPhotoRepository(ConfigurationManager.AppSettings["UnitTestToken"]));
 }