public void ContextTranslate_ShouldThrown_WhenKeyLanguageEmpty() { // Arrange var service = new CalingaService(_testCalingaServiceSettings); var context = new LanguageContext(TestData.Language_DE, service); // Act Func <Task> translate = async() => await context.TranslateAsync("").ConfigureAwait(false); // Assert translate.Should().Throw <ArgumentNullException>(); }