File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/FluentNHibernate.Testing/MappingModel/Output Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,15 @@ public class when_generating_the_output_for_a_resolved_component_reference : Spe
18
18
public override void establish_context ( )
19
19
{
20
20
inline_component = new ClassMap < Target > ( ) ;
21
- inline_component . Component ( x => x . ComponentProperty , c => c . Map ( x => x . Property ) ) ;
21
+ inline_component . Component ( x => x . ComponentProperty1 , c => c . Map ( x => x . Property ) ) ;
22
+ inline_component . Component ( x => x . ComponentProperty2 , c => c . Map ( x => x . Property ) ) ;
22
23
23
24
external_component = new ComponentMap < Component > ( ) ;
24
25
external_component . Map ( x => x . Property ) ;
25
26
26
27
reference_component = new ClassMap < Target > ( ) ;
27
- reference_component . Component ( x => x . ComponentProperty ) ;
28
+ reference_component . Component ( x => x . ComponentProperty1 ) ;
29
+ reference_component . Component ( x => x . ComponentProperty2 ) ;
28
30
}
29
31
30
32
private string render_xml ( Action < PersistenceModel > addMappings )
@@ -53,11 +55,13 @@ public override void because()
53
55
public void should_be_rendered_the_same_as_an_inline_component ( )
54
56
{
55
57
referenced_xml . ShouldEqual ( inline_xml ) ;
58
+ System . Diagnostics . Debug . WriteLine ( referenced_xml ) ;
56
59
}
57
60
58
61
private class Target
59
62
{
60
- public Component ComponentProperty { get ; set ; }
63
+ public Component ComponentProperty1 { get ; set ; }
64
+ public Component ComponentProperty2 { get ; set ; }
61
65
}
62
66
63
67
private class Component
You can’t perform that action at this time.
0 commit comments