public QuantitySelectionDTO QuantityDTOByPath(string quantityPath)
 {
     return(_quantitySelectionDTOList.Find(x => string.Equals(x.QuantityPath, quantityPath)));
 }
        public void Find_Invoke_ThrowsNotSupportedException()
        {
            IBindingList bindingList = new BindingList <object>();

            Assert.Throws <NotSupportedException>(() => bindingList.Find(null, null));
        }