public void InstallService_WhenNtServiceDescriptorIsNull_ThrowsArgumentException()
        {
            var ntServiceManager = new ScExeBasedNtServiceManager("c:\\", new TimeSpan(1));

              Assert.Throws<ArgumentNullException>(() => ntServiceManager.InstallService("machineName", null));
        }
        public void InstallService_WhenMachineNameIsNullOrEmpty_ThrowsArgumentException()
        {
            var ntServiceManager = new ScExeBasedNtServiceManager("c:\\", new TimeSpan(1));

              Assert.Throws<ArgumentException>(() => ntServiceManager.InstallService(string.Empty, null));
        }