private static LogicalElement SetBrokenType(LogicalElement element, BrokenTypes brokenType)
 {
     element.BrokenType = brokenType;
     return element;
 }
		private LogicalElement[] GetConfiguredLogicalElements(IDictionary<int, FunctionTypes> configurationFunctions,
															  IDictionary<int, BrokenTypes> configurationBrokenTypes)
		{
			if (configurationFunctions.Count == 0)
			{
				throw new ArgumentException("configurationFunctions is empty");
			}

			if (configurationBrokenTypes.Count == 0)
			{
				throw new ArgumentException("configurationBrokenTypes is empty");
			}

			LogicalElement[] elements = new LogicalElement[COUNT_ELEMENTS];

			for (int i = 0; i < elements.Length; i++)
			{
				elements[i] = LogicalElementBuilder.Build(1 + i, configurationFunctions[1 + i], configurationBrokenTypes[1 + i]);
			}

			_elements = elements;

			return elements;
		}
 private static LogicalElement SetFunction(LogicalElement element, FunctionTypes functionType)
 {
     element.Function = FunctionFactory.GetFunction(functionType);
     return element;
 }