Beispiel #1
0
        public void Instance_Inherits_From_IdentityUserClaim_Of_Integer()
        {
            var type = typeof(IdentityUserClaim <int>);

            var claim = new BlogUserClaim();

            Assert.IsAssignableFrom(type, claim);
        }
Beispiel #2
0
        public void Instance_Implement_Interface_IHaveCreated()
        {
            var type = typeof(IHaveCreated);

            var claim = new BlogUserClaim();

            Assert.IsAssignableFrom(type, claim);

            claim.Created = DateTime.Now;
        }