public void Both_Parts_OF_Many_To_Many_Of_Association_Can_Be_Created_To_Any_Persistent_Member() { ITypesInfo info = XafTypesInfo.Instance; Type typeToCreateOn = typeof(User); info.RegisterEntity(typeToCreateOn); Type typeOfMember = typeof(Analysis); info.RegisterEntity(typeOfMember); List <XPCustomMemberInfo> members = info.CreateBothPartMembers(typeToCreateOn, typeOfMember, XpoTypesInfoHelper.GetXpoTypeInfoSource().XPDictionary, true, "association"); assertMemberCreation(members, typeToCreateOn.Name + "s", typeOfMember); assertMemberCreation(members, typeOfMember.Name + "s", typeToCreateOn); }