CloneSet1062


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3201.000statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1358
src/NHibernate.Test/LazyOneToOne/LazyOneToOneTest.cs
2372
src/NHibernate.Test/LazyOneToOne/LazyOneToOneTest.cs
Clone Instance
1
Line Count
3
Source Line
58
Source File
src/NHibernate.Test/LazyOneToOne/LazyOneToOneTest.cs

                        //Assert.That(!NHibernateUtil.IsPropertyInitialized(p, "Employee"));

                        Assert.That(p.Employee.Person, Is.SameAs(p));
                        Assert.That(NHibernateUtil.IsInitialized(p.Employee.Employments));
                        Assert.That(p.Employee.Employments.Count, Is.EqualTo(1));


Clone Instance
2
Line Count
3
Source Line
72
Source File
src/NHibernate.Test/LazyOneToOne/LazyOneToOneTest.cs

                        //Assert.That(!NHibernateUtil.IsPropertyInitialized(p, "Employee"));

                        Assert.That(p.Employee.Person, Is.SameAs(p));
                        Assert.That(NHibernateUtil.IsInitialized(p.Employee.Employments));
                        Assert.That(p.Employee.Employments.Count, Is.EqualTo(1));


Clone AbstractionParameter Count: 0Parameter Bindings

//Assert.That(!NHibernateUtil.IsPropertyInitialized(p, "Employee"));
Assert.That(p.Employee.Person, Is.SameAs(p));
Assert.That(NHibernateUtil.IsInitialized(p.Employee.Employments));
Assert.That(p.Employee.Employments.Count, Is.EqualTo(1));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None