﻿using NUnit.Framework;
using ZobShop.Models;

namespace ZobShop.Tests.Models.UserTests
{
    [TestFixture]
    public class PropertyTests
    {
        [TestCase("street")]
        [TestCase("highway")]
        [TestCase("boulevard")]
        public void TestAddressProperty_ShouldWorkCorrectly(string address)
        {
            var user = new User();
            user.Address = address;

            Assert.AreEqual(address, user.Address);
        }
    }
}

﻿using NUnit.Framework;
using ZobShop.Models;

namespace ZobShop.Tests.Models.UserTests
{
    [TestFixture]
    public class PropertyTests
    {
        [TestCase("street")]
        [TestCase("highway")]
        [TestCase("boulevard")]
        public void TestAddressProperty_ShouldWorkCorrectly(string address)
        {
            var user = new User();
            user.Address = address;

            Assert.AreEqual(address, user.Address);
        }

        [TestCase("Pesho")]
        [TestCase("Gosho")]
        [TestCase("Stamat")]
        public void TestNameProperty_ShouldWorkCorrectly(string name)
        {
            var user = new User();
            user.Name = name;

            Assert.AreEqual(name, user.Name);
        }
    }
}

Add tests for user name
Add tests for user name

