public void TypeSafeReadSessionAttributeTest()
        {
            var target = new CEKRequest
            {
                Session = new Session
                {
                    SessionAttributes = new Dictionary <string, object>
                    {
                        ["A"] = "a value",
                        ["B"] = "b value",
                    },
                },
            };

            var typeSafeSession = target.GetSessionAttributeAs <SessionType>();

            Assert.Equal("a value", typeSafeSession.A);
            Assert.Equal("b value", typeSafeSession.B);
        }
        public void TypeSafeReadSessionAttributeNullCaseTest()
        {
            var target = new CEKRequest();

            Assert.Null(target.GetSessionAttributeAs <SessionType>());
        }