public void Should_be_possible_to_create_AccessTokenItems_to_collect()
        {
            var objectType  = ProbeHelper.GetDefinitionObjectTypeByID("definitionsSimple", "840");

            var generatedItems = new AccessTokenItemTypeGenerator(null).GetItemsToCollect(objectType, null);

            this.DoBasicAssert(generatedItems, 1);
            this.AssertGeneratedAccessTokenItem(generatedItems.ElementAt(0), @"mss\lfernandes");
        }
        public void Should_be_possible_to_create_items_from_SecurityPrinciple_referencing_a_local_variable()
        {
            var objectType = ProbeHelper.GetDefinitionObjectTypeByID("definitionsSimple", "860");
            var fakeVariables = VariableHelper.CreateVariableWithOneValue(objectType.id, "oval:modulo:var:860", "ADMINISTRATOR");

            var generatedItems =  new AccessTokenItemTypeGenerator(null).GetItemsToCollect(objectType, fakeVariables);

            this.DoBasicAssert(generatedItems, 1);
            this.AssertGeneratedAccessTokenItem(generatedItems.ElementAt(0), "ADMINISTRATOR");
        }