138139140141142143144145146
new MockWorkingMemory() ); assertTrue( runner.populatedData.containsKey( "c1" ) ); assertTrue( runner.populatedData.containsKey( "p1" ) ); OuterFact o = (OuterFact) runner.populatedData.get("p1"); assertNotNull(o.getInnerFact()); }
196197198199200201202203204
new MockWorkingMemory() ); assertTrue( runner.getPopulatedData().containsKey( "c1" ) ); assertTrue( runner.getPopulatedData().containsKey( "p1" ) ); OuterFact o = (OuterFact) runner.getPopulatedData().get( "p1" ); assertNotNull( o.getInnerFact() ); }
235236237238239240241242243
176177178179180181182183184
140141142143144145146147148
new MockWorkingMemory() ); assertTrue( runner.populatedData.containsKey( "c1" ) ); assertTrue( runner.populatedData.containsKey( "p1" ) ); OuterFact o = (OuterFact) runner.populatedData.get( "p1" ); assertNotNull( o.getInnerFact() ); }
178179180181182183184185186
114115116117118119120121122
151152153154155156157158
factPopulator.populate(); assertTrue( populatedData.containsKey( "c1" ) ); assertTrue( populatedData.containsKey( "p1" ) ); OuterFact o = (OuterFact) populatedData.get( "p1" ); assertEquals( populatedData.get( "c1" ), o.getInnerFact() ); }
193194195196197198199200