public void FixtureSetup() { this.extensibility = SharedEnvironment.Instance; // Get Project object Project testProject = (Project)(extensibility.Solution.Projects.Item(3)); this.codeFile = testProject.ProjectItems.Item("Program.cs"); CommonMethods.CloseDocument(codeFile); actionObject = new Common.GenericCSharpExtractResourceAction(); resources = new ResourceFileCollection(testProject, new FilterMethod(actionObject.IsValidResourceFile)); }