public LocalPrincipalManagerTests()
        {
            groupManager = new LocalUserGroupManager();
            permissionManager = Substitute.For<IDesktopPermissionManager>();
            RecreateLocalGroup(testGroupName);
            manager = new LocalPrincipalManager(permissionManager, testGroupName);

            TryRemoveLocalUser(testUserName);
        }
Пример #2
0
        public LocalPrincipalManagerTests()
        {
            groupManager      = new LocalUserGroupManager();
            permissionManager = Substitute.For <IDesktopPermissionManager>();
            RecreateLocalGroup(testGroupName);
            manager = new LocalPrincipalManager(permissionManager, testGroupName);

            TryRemoveLocalUser(testUserName);
        }