Ejemplo n.º 1
0
        public void AcceptableLicensePlate_ShouldReturnTrue()
        {
            var    newWindow        = new AddNewWindow();
            string goodLicensePlate = "KLI-592";
            var    result           = newWindow.ValidateLicensePlate(goodLicensePlate);

            Assert.IsTrue(result);
        }
Ejemplo n.º 2
0
        public void NotAcceptableLicensePlate_ShouldReturnFalse()
        {
            var    newWindow         = new AddNewWindow();
            string wrongLicensePlate = "BG-123";
            var    result            = newWindow.ValidateLicensePlate(wrongLicensePlate);

            Assert.IsFalse(result);
        }