TranslateNameTo() public method

public TranslateNameTo ( string languageIsoCode ) : EstablishmentName
languageIsoCode string
return EstablishmentName
Exemplo n.º 1
0
            public void ReturnsNull_WhenNoNamesExist()
            {
                var establishment = new Establishment {
                    Names = new List <EstablishmentName>()
                };
                var translatedName = establishment.TranslateNameTo("en");

                translatedName.ShouldBeNull();
            }
Exemplo n.º 2
0
 public void ReturnsNull_WhenNoNamesExist()
 {
     var establishment = new Establishment { Names = new List<EstablishmentName>() };
     var translatedName = establishment.TranslateNameTo("en");
     translatedName.ShouldBeNull();
 }