public static void InitUpdateManagerForTests()
{
if (_instance != null) {
throw new InvalidOperationException("Instance is already initialized.");
}
var releaseProvider = new TestReleaseProvider();
_instance = new UpdateManager(releaseProvider, new Version(0, 1));
}