SEBWIN-183: Added missing test case for shutdown controller.
This commit is contained in:
parent
1cb388b754
commit
2e28c01fdb
1 changed files with 7 additions and 0 deletions
|
@ -113,5 +113,12 @@ namespace SafeExamBrowser.Core.UnitTests.Behaviour
|
|||
{
|
||||
sut.FinalizeApplication(new Queue<IOperation>());
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void MustNotFailInCaseOfUnexpectedError()
|
||||
{
|
||||
uiFactoryMock.Setup(l => l.CreateSplashScreen(It.IsAny<ISettings>(), It.IsAny<IText>())).Throws(new Exception());
|
||||
sut.FinalizeApplication(new Queue<IOperation>());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue