public ContainerHostServiceTests()
        {
            ContainerId = Guid.NewGuid().ToString("N");

            Directory = Substitute.For <IContainerDirectory>();
            Directory.MapBinPath(null).ReturnsForAnyArgs(call => @"C:\Containers\handle\bin\" + call.Arg <string>());
            Directory.UserPath.Returns(@"C:\Containers\handle\user\");

            FileSystem = Substitute.For <FileSystemManager>();
            JobObject  = Substitute.For <JobObject>();

            Process = Substitute.For <IProcess>();
            Process.Id.Returns(100);
            Process.Handle.Returns(new IntPtr(100));
            Process.StandardError.Returns(new StringReader("OK\n"));

            ProcessRunner = Substitute.For <IProcessRunner>();
            ProcessRunner.Run(null).ReturnsForAnyArgs(Process);

            DependencyHelper = Substitute.For <ContainerHostDependencyHelper>();
            DependencyHelper.ContainerHostExe.Returns("IronFrame.Host.exe");
            DependencyHelper.ContainerHostExePath.Returns(@"C:\Path\To\IronFrame.Host.exe");
            DependencyHelper.GetContainerHostDependencies().Returns(new [] { @"C:\Path\To\IronFrame.Shared.dll" });

            FileSystem.FileExists(DependencyHelper.ContainerHostExeConfigPath).Returns(true);

            Service = new ContainerHostService(FileSystem, ProcessRunner, DependencyHelper);
        }