public void NameNull()
        {
            SessionStartData test = new SessionStartData()
            {
                Password = "******"
            };

            Assert.False(test.DataAnnotationIsValid());
        }
        public void NameEmpty()
        {
            SessionStartData test = new SessionStartData()
            {
                Name = string.Empty, Password = "******"
            };

            Assert.False(test.DataAnnotationIsValid());
        }
        public void PasswordTooLong()
        {
            SessionStartData test = new SessionStartData()
            {
                Name = new string('a', 513)
            };

            Assert.False(test.DataAnnotationIsValid());
        }
        public void PasswordNull()
        {
            SessionStartData test = new SessionStartData()
            {
                Name = "name"
            };

            Assert.False(test.DataAnnotationIsValid());
        }
        public void PasswordEmpty()
        {
            SessionStartData test = new SessionStartData()
            {
                Name = "name", Password = string.Empty
            };

            Assert.False(test.DataAnnotationIsValid());
        }
        public void Constructor()
        {
            SessionStartData test = new SessionStartData()
            {
                Name = "name", Password = "******"
            };

            Assert.IsType <SessionStartData>(test);
            Assert.Equal("name", test.Name);
            Assert.Equal("password", test.Password);

            Assert.True(test.DataAnnotationIsValid());
        }