@Test
public void conditionCol52Column() throws
        Exception {

    final ArrayList<BaseColumn> columns = new ArrayList<>();
    final ConditionCol52 conditionCol52 = new ConditionCol52();
    final Pattern52 pattern52 = new Pattern52();
    columns.add(conditionCol52);
    when(model.getExpandedColumns()).thenReturn(columns);
    when(model.getPattern(conditionCol52)).thenReturn(pattern52);
    final HeaderMetaData headerMetaData = new ModelMetaDataEnhancer(model)
            .getHeaderMetaData();
    assertEquals(1,
                 headerMetaData.size());
    assertEquals(pattern52,
                 headerMetaData.getPatternsByColumnNumber(0).getPattern());
    assertEquals(PatternType.LHS,
                 headerMetaData.getPatternsByColumnNumber(0).getPatternType());
}