public void TestCreateUserPipeline() { BatchController controller = BatchController.NewInstance; string userName = "******"; controller.RunPsTestWorkflow( () => { return(new string[] { string.Format("Test-CreateUser '{0}' '{1}' '{2}' '{3}' 1", accountName, poolName, vmName, userName) }); }, null, () => { BatchAccountContext context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); ScenarioTestHelpers.DeleteUser(controller, context, poolName, vmName, userName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); }