public async Task LoadDatabaseAsync_ShouldThrow_WhenServiceThrowsKeyNotFoundException() { LoadDatabaseSetup(); this.mockService1.Setup(m => m.LoadAsync(It.IsAny<ApplicationDatabase>())).Throws<KeyNotFoundException>(); var appDb = await this.subject.LoadAsync("Foo"); }