Ejemplo n.º 1
0
            public void Should_generate_correct_code_given__true()
            {
                _inverse.Add(true);
                string result = _builder.ToString();

                result.ShouldBeEqualTo(string.Format(".{0}()\r\n", Inverse.FluentNHibernateNames.Inverse));
            }
 /// <summary>
 /// Adds a new element to the Dictionary
 /// </summary>
 /// <param name="item">The element to add</param>
 public void Add(KeyValuePair <TRight, TLeft> item) => Inverse.Add(Swap(item));
            //****************************************

            /// <inheritdoc/>
            public void Add(TRight right, TLeft left) => Inverse.Add(left, right);