public void DeploysAllScriptsPlannedInOrder() { scriptStore.Add(new Script("001", "AAA", "BBB")); scriptStore.Add(new Script("002", "CCC", "DDD")); scriptStore.Add(new Script("003", "EEE", "FFF")); string[] plan = new[] { "001", "002", "003" }; deployer.Execute(plan); CollectionAssert.AreEqual(new[] { "AAA", "CCC", "EEE" }, database.AppliedScripts); }