BAEL 5273 Sequence Input Stream (2nd commit) (#11649)

* SequenceInputStream changes

* assert statements corrected by keeping order as (expected, actual)

Co-authored-by: Seshu Thanneeru <seshukumar.thanneeru@thoughtdata.com>
This commit is contained in:
Seshu Kumar T 2022-01-07 01:43:40 +05:30 committed by GitHub
parent 22c2742bdb
commit ca7f2cc363
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ public class InputSequenceUnitTest {
InputSequenceHandler inputSequenceHandler = new InputSequenceHandler(file1, file2);
String stringValue = inputSequenceHandler.readAsString();
inputSequenceHandler.close();
assertEquals(stringValue, FILE1_AND_FILE2_CONTENT);
assertEquals(FILE1_AND_FILE2_CONTENT, stringValue);
}
@Test
@ -43,7 +43,7 @@ public class InputSequenceUnitTest {
InputSequenceHandler inputSequenceHandler = new InputSequenceHandler(filesList);
String stringValue = inputSequenceHandler.readAsString();
inputSequenceHandler.close();
assertEquals(stringValue, ALL_FILES_CONTENT);
assertEquals(ALL_FILES_CONTENT, stringValue);
}
@Test