BAEL-6812 Test Main Method with JUnit

- fixed missed review comments
This commit is contained in:
Tetiana Okhotnik 2023-09-05 12:07:11 +03:00
parent 2f639b9aab
commit c9ad63f05d
1 changed files with 0 additions and 2 deletions

View File

@ -82,10 +82,8 @@ public class TestSimpleMain {
System.setIn(fips);
System.setOut(out);
//execute
SimpleMain.main(arguments);
//verify
String consoleOutput = byteArrayOutputStream.toString(Charset.defaultCharset());
assertTrue(consoleOutput.contains("Calculated sum: 10"));