public void Updated_IsCalledAfterUpdate()
{
bool called = false;
UpdateInfo info = new UpdateInfo(true, "2.0.0");
updateManager.Stub(x => x.CheckForUpdate()).Return(info);
autoUpdater.Updated += (sender, e) => called = true;
autoUpdater.Start();
Thread.Sleep(100);
Assert.That(called, Is.True);
}