public void ShouldBeAbleToRemoveSeveralTablesFromExecutionNode() { // 2 Customers ExecutionNode customer = ExecutionNode.CreateLevelOneNode(2, "Customer"); customer.AddTable(_CustomerTable); customer.AddTable(_AccountTable); NodeIterator it = new NodeIterator(customer); Assert.That(it.GetExpectedInsertCount(), Is.EqualTo(4)); AssertOrder(it.GetTablesRecursive().Select(x => x.Table), "Customer", "Accounts", "Customer", "Accounts"); customer.RemoveTables(_AccountTable, _CustomerTable); Assert.That(it.GetExpectedInsertCount(), Is.EqualTo(0)); // AssertOrder(it.GetTablesRecursive(), "Customer", "Customer"); }