Beispiel #1
0
        public void TryormatPlate_Throws_OnEmptyPlate()
        {
            var target = new LicenseplateValidator();

            target.TryFormatPlate("   ", "NL", out var _);
        }
Beispiel #2
0
        public void TryormatPlate_Throws_OnUnsupportedCountry()
        {
            var target = new LicenseplateValidator();

            target.TryFormatPlate("AB-12-CD", "XX", out var _);
        }
Beispiel #3
0
        public void TryormatPlate_ReturnsFalse_OnUnknownFormat()
        {
            var target = new LicenseplateValidator();

            Assert.IsFalse(target.TryFormatPlate("A1B2C3", "NL", out var _));
        }