- public void doSetUp() {
- showStatsCommandProvider = new ShowStatsCommandProvider();
- messageIntelligenceAgency = OpenFlowPluginProviderImpl.getMessageIntelligenceAgency();
- messageIntelligenceAgency.resetStatistics();
- }
-
- @After
- public void tearDown() {
- // Pattern.DOTALL is set inline via "(?s)" at the beginning
- Mockito.verify(console).print(matches("(?s).+"));
+ protected void doBeforeEach() {
+ showStatsCommand.messageIntelligenceAgency = messageIntelligenceAgency;