Inheritance: System.Entity
 public void HasGetSet()
 {
     var value = new Language();
     var entity = new LanguageName { TranslationToLanguage = value };
     entity.ShouldNotBeNull();
     entity.TranslationToLanguage.ShouldEqual(value);
 }
Exemple #2
0
 public void ReturnsNull_WhenNoNamesExist()
 {
     var language = new Language();
     var translatedName = language.NativeName;
     translatedName.ShouldBeNull();
 }