public void Test_Equals_Equal()
        {
            UserEntityPermissionTuple userEntityPermissionTuple1;
            UserEntityPermissionTuple userEntityPermissionTuple2;

            userEntityPermissionTuple1 = new UserEntityPermissionTuple(1, 2, new long[] { 3 });
            userEntityPermissionTuple2 = new UserEntityPermissionTuple(1, 2, new long[] { 3 });

            Assert.That(userEntityPermissionTuple1, Is.EqualTo(userEntityPermissionTuple2));
        }
        public void Test_Equals_DifferentPermissionId()
        {
            UserEntityPermissionTuple userEntityPermissionTuple1;
            UserEntityPermissionTuple userEntityPermissionTuple2;

            userEntityPermissionTuple1 = new UserEntityPermissionTuple(1, 2, new long[] { 3 });
            userEntityPermissionTuple2 = new UserEntityPermissionTuple(1, 2, new long[] { 3000 });

            Assert.That(userEntityPermissionTuple1, Is.Not.EqualTo(userEntityPermissionTuple2));
        }
        public void Test_Creation()
        {
            UserEntityPermissionTuple userEntityPermissionTuple;
            const long userId   = 1;
            const long entityId = 2;

            long[] permissionIds = new long[] { 3 };

            userEntityPermissionTuple = new UserEntityPermissionTuple(userId, entityId, permissionIds);

            Assert.That(userEntityPermissionTuple, Has.Property("UserId").EqualTo(userId));
            Assert.That(userEntityPermissionTuple, Has.Property("EntityId").EqualTo(entityId));
            Assert.That(userEntityPermissionTuple, Has.Property("PermissionIds").EquivalentTo(permissionIds));
        }