* value conditions.
* @throws Exception if failed
*/
@Test
public void extractValueCondition() throws Exception {
ExcelRuleExtractor extractor = new LegacyExcelRuleExtractor();
Sheet sheet = sheet("legacy-rule.xls");
assertThat(extractor.extractValueCondition(sheet.getRow(3)), is(ValueConditionKind.ANY));
assertThat(extractor.extractValueCondition(sheet.getRow(4)), is(ValueConditionKind.EQUAL));
assertThat(extractor.extractValueCondition(sheet.getRow(5)), is(ValueConditionKind.CONTAIN));
assertThat(extractor.extractValueCondition(sheet.getRow(6)), is(ValueConditionKind.NOW));
assertThat(extractor.extractValueCondition(sheet.getRow(7)), is(ValueConditionKind.TODAY));
}