Inheritance: Tmx.TLProjectCmdletBase
        List<TestProject> getProjectCollection(
            List<TestProject> listOfProjects,
            string[] names,
            string[] ids,
            bool makeFail)
        {
            var cmdlet = new GetTLProjectCommand();
            cmdlet.Name = names;
            cmdlet.Id = ids;
            
            TLAddinData.CurrentTestLinkConnection =
                FakeTestLinkFactory.GetTestLinkWithProjects(listOfProjects);
            
            if (makeFail)
                TLAddinData.CurrentTestLinkConnection = null;
            
            var command = new TLSrvGetProjectCommand(cmdlet);
            command.Execute();

            var resultList = new List<TestProject>();

            foreach (object tpr in UnitTestOutput.LastOutput) {

                resultList.Add((TestProject)tpr);

            }

            return resultList;
        }