Exemplo n.º 1
0
            public FactsBase()
            {
                _cache = new Mock <IFeatureFlagCacheService>();

                _target = new FeatureFlagClient(
                    _cache.Object,
                    Mock.Of <ILogger <FeatureFlagClient> >());
            }
Exemplo n.º 2
0
            public FactsBase()
            {
                _cache = new Mock <IFeatureFlagCacheService>();

                _target = new FeatureFlagClient(
                    _cache.Object,
                    Mock.Of <ILogger <FeatureFlagClient> >());

                _user = new TestFlightUser
                {
                    Username     = "******",
                    EmailAddress = "*****@*****.**",
                    IsSiteAdmin  = false,
                };

                _admin = new TestFlightUser
                {
                    Username     = "******",
                    EmailAddress = "*****@*****.**",
                    IsSiteAdmin  = true,
                };

                _anonymous = null;
            }