string [] Run(params string [] assemblies)
        {
            var task = new FilterAssemblies {
                BuildEngine     = new MockBuildEngine(TestContext.Out),
                InputAssemblies = assemblies.Select(a => new TaskItem(a)).ToArray(),
            };

            Assert.IsTrue(task.Execute(), "task.Execute() should have succeeded.");
            return(task.OutputAssemblies.Select(a => Path.GetFileName(a.ItemSpec)).ToArray());
        }
        string [] Run(params string [] assemblies)
        {
            var task = new FilterAssemblies {
                BuildEngine = new MockBuildEngine(TestContext.Out),
                TargetFrameworkIdentifier = "MonoAndroid",
                FallbackReference         = "Mono.Android",
                InputAssemblies           = assemblies.Select(a => new TaskItem(a)).ToArray(),
            };

            Assert.IsTrue(task.Execute(), "task.Execute() should have succeeded.");
            return(task.OutputAssemblies.Select(a => Path.GetFileName(a.ItemSpec)).ToArray());
        }