public void AllContainersAggregateItemsParameters(ITextContainer container) { // arrange & act var containerParameters = container.GetParameters(); var originalParameters = new Dictionary <string, IKnowledge>(); foreach (var text in container.Items) { foreach (var parameter in text.GetParameters()) { originalParameters[parameter.Key] = parameter.Value; } } // assert Assert.IsTrue(containerParameters.SequenceEqual(originalParameters)); }