public void Should_auto_create_folder() { var tempPath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()); Directory.Exists(tempPath).Should().BeFalse("Test is in invalid state, cannot proceed"); var bootStrapper = new AppBootStrapper(tempPath); bootStrapper.CreateRootPathIfNeeded(); Directory.Exists(tempPath).Should().BeTrue("AppBootStrapper did not create a temp path as expected"); }