The EnvironmentsVariable rule can only be used within a JUnit 4 test
class because it needs JUnit 4 for managing its lifecycle. System Lambda
is a replacement for System Rules that does not need JUnit 4 anymore.
Therefore we can use it in SimpleHttpServerComponentStarter.
The EnvironmentsVariable rule can only be used within a JUnit 4 test class because it needs JUnit 4 for managing its lifecycle. System Lambda is a replacement for System Rules that does not need JUnit 4 anymore. Therefore we can use it in SimpleHttpServerComponentStarter.