public void When_an_error_occurs_while_creating_items_to_collect_the_created_items_must_have_error_status()
        {
            var textFileContentProberUnix = new TextFileContentProberUnix();
            ProberBehaviorCreator.CreateBehaviorWithExceptionThrowing(textFileContentProberUnix);

            var probeExecutionResult =
                textFileContentProberUnix.Execute(
                    FakeContext, FakeTargetInfo, FakeCollectInfo);

            DoAssertForExecutionWithErrors(probeExecutionResult, typeof(textfilecontent_item));
        }
        public void Should_be_possible_to_collect_textfilecontent_object_for_unix_systems()
        {
            var textFileContentProberUnix = new TextFileContentProberUnix();
            ProberBehaviorCreator
                .CreateBehaviorForNormalFlowExecution(
                    textFileContentProberUnix, FakeItemsToCollect, FakeCollectedItems);

            var probeExecutionResult = 
                textFileContentProberUnix.Execute(
                    FakeContext, FakeTargetInfo, FakeCollectInfo);

            DoAssertForSingleCollectedObject(probeExecutionResult, typeof(textfilecontent_item));
        }