Home | History | Annotate | Download | only in junit
      1 /*
      2  * Copyright (c) 2017 Mockito contributors
      3  * This program is made available under the terms of the MIT License.
      4  */
      5 package org.mockito.internal.junit;
      6 
      7 import org.mockito.listeners.MockCreationListener;
      8 
      9 /**
     10  * Internal test listener that helps decoupling JUnit internals from Mockito "business" logic.
     11  * If we ever want to expose this type publicly, it should not extend MockCreationListener
     12  * because we want our listeners to be single-method interfaces for easier use and evolution.
     13  */
     14 public interface MockitoTestListener extends MockCreationListener {
     15     void testFinished(TestFinishedEvent event);
     16 }
     17