Наследование: System.Entity
Пример #1
0
 public void HasGetSet()
 {
     var value = new Language();
     var entity = new LanguageName { TranslationToLanguage = value };
     entity.ShouldNotBeNull();
     entity.TranslationToLanguage.ShouldEqual(value);
 }
Пример #2
0
 public void ReturnsNull_WhenNoNamesExist()
 {
     var language = new Language();
     var translatedName = language.NativeName;
     translatedName.ShouldBeNull();
 }