public void Dispose()
 {
     if (!_wasStorageEmulatorUp)
     {
         AzureStorageEmulatorManager.StopStorageEmulator();
     }
     else
     {
         // Leave as it was before testing...
     }
 }
        public AzureStorageEmulatorFixture()
        {
            if (!AzureStorageEmulatorManager.IsProcessStarted())
            {
                AzureStorageEmulatorManager.StartStorageEmulator();

                Console.WriteLine("delaying 500ms in the hopes that the storage emulator is started...");
                Task.Delay(500).Wait(500);

                _wasStorageEmulatorUp = false;
            }
            else
            {
                _wasStorageEmulatorUp = true;
            }
        }