File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
core/src/main/java/eu/tsystems/mms/tic/testframework/common
integration-tests/src/test/java/eu/tsystems/mms/tic/testframework/test/common Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ public final class PropertyManager {
6666 (propertyResolvers != null ?propertyResolvers .stream ():Stream .empty ()),
6767 Stream .of (
6868 threadLocalPropertyResolver ,
69- filePropertyResolver ,
70- systemPropertyResolver
69+ systemPropertyResolver ,
70+ filePropertyResolver
7171 )
7272 );
7373 });
Original file line number Diff line number Diff line change @@ -433,6 +433,19 @@ public void testT51_ClearAllProperties() {
433433 Assert .assertNull (PropertyManager .getProperty ("thread.property" ));
434434 }
435435
436+ @ Test
437+ public void test_priority () {
438+
439+ String property = "test" ;
440+ String expected = "huhu" ;
441+
442+ Assert .assertEquals (PropertyManager .getProperty (property ), expected );
443+
444+ System .setProperty ("test" , "haha" );
445+
446+ Assert .assertNotEquals (PropertyManager .getProperty (property ), expected );
447+ }
448+
436449 @ Test
437450 public void test_resolvePriorityProperty () {
438451 final String propertyKey = "any-property" ;
You can’t perform that action at this time.
0 commit comments