func GinkgoBootstrap(t *testing.T, suiteName string) {
	RegisterFailHandler(Fail)

	cf.AsUser(RegularUserContext, func() {
		outputFile := fmt.Sprintf("../results/%s-junit_%d.xml", suiteName, ginkgoconfig.GinkgoConfig.ParallelNode)
		RunSpecsWithDefaultAndCustomReporters(t, suiteName, []Reporter{reporters.NewJUnitReporter(outputFile)})
	})
}
	var FakeCf = func(args ...string) *cmdtest.Session {
		FakeCfCalls = append(FakeCfCalls, args)
		var session, _ = cmdtest.Start(exec.Command("echo", "nothing"))
		return session
	}
	var user = cf.NewUserContext("http://FAKE_API.example.com", "FAKE_USERNAME", "FAKE_PASSWORD", "FAKE_ORG", "FAKE_SPACE")

	BeforeEach(func() {
		FakeCfCalls = [][]string{}
		cf.Cf = FakeCf
	})

	Context("When SKIP_SSL_VALIDATION is true", func() {
		It("calls cf api with --skip-ssl-validation", func() {
			os.Setenv("SKIP_SSL_VALIDATION", "true")
			cf.AsUser(user, FakeThingsToRunAsUser)
			Expect(FakeCfCalls[0]).To(Equal([]string{"api", "http://FAKE_API.example.com", "--skip-ssl-validation"}))
			os.Setenv("SKIP_SSL_VALIDATION", "false")
		})
	})

	Context("When SKIP_SSL_VALIDATION is not true", func() {
		It("calls cf api without --skip-ssl-validation", func() {
			cf.AsUser(user, FakeThingsToRunAsUser)

			Expect(FakeCfCalls[0]).To(Equal([]string{"api", "http://FAKE_API.example.com"}))
		})
	})

	It("calls cf auth", func() {
		cf.AsUser(user, FakeThingsToRunAsUser)