public void CheckLoginExistsNegativeTest()
        {
            IUserDataService service = new UserDataService();

            Assert.That(service.CheckLoginExists("nonexistent login"), Is.False);
        }
        public void CheckLoginExistsLoginEmptyTest()
        {
            IUserDataService service = new UserDataService();

            Assert.Throws <ArgumentException>(() => service.CheckLoginExists(""));
        }
        public void CheckLoginExistsPositiveTest()
        {
            IUserDataService service = new UserDataService();

            Assert.That(service.CheckLoginExists("login"), Is.True);
        }
        public void CheckLoginExistsLoginNullTest()
        {
            IUserDataService service = new UserDataService();

            Assert.Throws <ArgumentNullException>(() => service.CheckLoginExists(null));
        }