Beispiel #1
0
        public void TestIsFromBackOfficeNull()
        {
            var headers = new HeaderDictionary
            {
                { "userid", "foo" }, { "usergroups", "bar" }, { "clienttype", "baz" }
            };

            _miaHeadersPropagator = new MiaHeadersPropagator(headers, _envConfig);
            Check.That(_miaHeadersPropagator.IsFromBackOffice()).IsEqualTo(false);
        }
Beispiel #2
0
 public void TestIsFromBackOfficeTruthy()
 {
     Check.That(_miaHeadersPropagator.IsFromBackOffice()).IsEqualTo(true);
 }