Changed tests
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
7813f148eb
commit
fddd5b757d
@ -10,12 +10,11 @@ import org.junit.Test;
|
||||
|
||||
public class FileReaderTest {
|
||||
@Test
|
||||
public void shoulReturnNull() {
|
||||
public void shouldNotReturnNull() {
|
||||
final InputStream inputStream = getClass().getClassLoader().getResourceAsStream("Zajecia.xlsx");
|
||||
final FileReader r = new FileReader(inputStream);
|
||||
final FileData d = r.read();
|
||||
assertTrue(d.getRows().next().getCell(0).toString().equals("1.0"));
|
||||
assertTrue(d.getKeys().size() == 24);
|
||||
assertTrue(d.getKeys().size() == 12);
|
||||
assertTrue(d != null);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user