Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6.1, 1.7.0
Description
Currently, five tests would create NetworkEnvironment in different places and the most of parameters are common in constructing it.
We can provide a simple way for constructing the NetworkEnvironment with less parameters to deduplicate the common codes, which can bring benefits for future new tests.
We can define a static nested NetworkEnvironmentBuilder inside the NetworkEnvironment or a simple constructor directly as the option.
Attachments
Issue Links
- links to