File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/test/java/com/amadeus Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11package com .amadeus ;
22
33import static org .junit .jupiter .api .Assertions .assertEquals ;
4+ import static org .junit .jupiter .api .Assertions .assertNotNull ;
45import static org .junit .jupiter .api .Assertions .assertThrows ;
56import static org .junit .jupiter .api .Assertions .assertTrue ;
67
@@ -13,8 +14,8 @@ public class AmadeusTest {
1314 * Amadeus Test.
1415 */
1516 @ Test public void testBuilder () {
16- Amadeus .builder ("id" , "secret" );
17- assertTrue ( true ,
17+ Configuration config = Amadeus .builder ("id" , "secret" );
18+ assertNotNull ( config ,
1819 "should return a Configuration" );
1920 }
2021
@@ -36,8 +37,8 @@ public class AmadeusTest {
3637 put ("AMADEUS_HOST" , "my.custom.host.com" );
3738 }
3839 };
39- Amadeus .builder (environment );
40- assertTrue ( true , "should return a Configuration" );
40+ Configuration config = Amadeus .builder (environment );
41+ assertNotNull ( config , "should return a Configuration" );
4142
4243 Amadeus amadeus = Amadeus .builder (environment ).build ();
4344 assertEquals (amadeus .getConfiguration ().getLogLevel (), "debug" );
You can’t perform that action at this time.
0 commit comments