public void Setup ()
{
context = new FakeCakeContext ();
context.CakeContext.DeleteFiles ("./TestProjects/ComponentPackage/*.xam");
if (!context.CakeContext.FileSystem.Exist (new FilePath ("./TestProjects/tools/xamarin-component.exe"))) {
context.CakeContext.CreateDirectory ("./TestProjects/tools/");
context.CakeContext.DownloadFile ("https://components.xamarin.com/submit/xpkg", "./TestProjects/tools/xpkg.zip");
context.CakeContext.Unzip ("./TestProjects/tools/xpkg.zip", "./TestProjects/tools/");
}
}