public void StartMemoryTest()
 {
     var service = Substitute.For<IService>();
     ServiceRestarter tester = new ServiceRestarter(service);
     tester.Start();
     Thread.Sleep(30000);
     tester.Stop();
 }
 public void CurrentlyAvailableMemory()
 {
     var service = Substitute.For<IService>();
     ServiceRestarter tester = new ServiceRestarter(service);
     tester.CurrentlyAvailableMemory().ShouldBeGreaterThan(0);
 }