public void TestSaveNewParkingData_WithNullFields_MustFail()
        {
            VehichleData vd = new VehichleData();

            _mock.Setup(i => i.SaveNewParkingData(vd));
            _mock.Verify((m => m.SaveNewParkingData(vd)), Times.Once());

            IParkingSystem ps = ParkingSystem.ParkingSystemInstance;

            ps.SaveNewParkingData(vd);
            Assert.That(() => ps.SaveNewParkingData(vd), Throws.TypeOf <ArgumentNullException>());
        }
        public void TestSaveNewParkingData()
        {
            VehichleData vd = GetVehichleData();

            _mock.Setup(i => i.SaveNewParkingData(vd));
            _mock.Verify((m => m.SaveNewParkingData(vd)), Times.Once());


            IParkingSystem ps = ParkingSystem.ParkingSystemInstance;

            ps.SaveNewParkingData(vd);
        }