@Test
public void conditionIsPartOfAPattern() {

    final AtomicBoolean calledBack = new AtomicBoolean( false );
    setupLimitedEntryPatternAndCondition();
    builder.generateDefinition( dtPresenter,
                                model.getExpandedColumns().get( 3 ),
                                ( String definition ) -> {
                                    calledBack.set( true );
                                    assertEquals( "$p : Person( name == \"Michael\" )",
                                                  definition );
                                } );
    assertTrue( calledBack.get() );
}