The state of the TestSystem
.
The default initial state of the TestSystem
with no environment variable
or system property mappings and the system line separator set to the new
line character.
Accesses a TestSystem
instance in the environment and clears the mapping
of environment variables.
Accesses a TestSystem
instance in the environment and clears the mapping
of system properties.
Constructs a new TestSystem
with the specified initial state.
Constructs a new TestSystem
with the specified initial state. This can
be useful for providing the required environment to an effect that
requires a Console
, such as with ZIO!.provide.
Constructs a new Test
object that implements the TestSystem
interface.
Constructs a new Test
object that implements the TestSystem
interface.
This can be useful for mixing in with implementations of other interfaces.
Accesses a TestSystem
instance in the environment and adds the specified
name and value to the mapping of environment variables.
Accesses a TestSystem
instance in the environment and adds the specified
name and value to the mapping of system properties.
Accesses a TestSystem
instance in the environment and sets the line
separator to the specified value.