List of usage examples for junit.framework Assert assertFalse
static public void assertFalse(String message, boolean condition)
From source file:no.abmu.common.excel.ExcelParserTest.java
public void testHasColumn() { excelParser1.load();// w w w.ja v a 2 s . c o m boolean hasColumn1 = excelParser1.hasColumn("ACCOUNTNAME"); Assert.assertTrue("We expect that the excel file has columnName='ACCOUNTNAME'", hasColumn1); boolean hasColumn2 = excelParser1.hasColumn("WRONG WRONG XXX"); Assert.assertFalse("We do not expect that the excel file has columnName='WRONG WRONG XXX'", hasColumn2); }