Пример #1
0
      public void TestPermissionObjectCopyConstructor()
      {
         PermissionObject perm = new PermissionObject(SetupMock());

         AssertPermission(perm);
      }
Пример #2
0
 void AssertPermission(PermissionObject perm)
 {
    Assert.AreEqual(id, perm.Id);
    Assert.AreEqual(NAME, perm.Name);
    Assert.AreEqual(TRANSLATE_NAME, perm.NameTranslation);
 }