public async Task NestAsync_MultipleNestings_ShouldNestTheTranslation() { var result = await _interpolator.NestAsync("Hello $t(anotherKeyA) and $t(anotherKeyB)!", "en-US", null, DummyTranslateAsync); result.Should().Be("Hello another value A and another value B!"); }
public async Task NestAsync_OneNesting_ShouldNestTheTranslation() { var result = await _interpolator.NestAsync("Hello $t(testkey)!", "en-US", null, DummyTranslateAsync); result.Should().Be("Hello translated dummy value!"); }