示例#1
0
        public void AddJoinReturnsAJoinsTagWithAJoinAndAnEmptyEqTag()
        {
            var list = Fixture.Create <string>();
            var sut  = new Joins();

            sut.AddJoin(list, CG.JoinType.Left, x => { });
            sut.ToString().ShouldBe(string.Format(@"<Joins><Join Type=""LEFT"" ListAlias=""{0}""><Eq /></Join></Joins>", list));
        }