Package org.mockito

Interface MockedConstruction.Context

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<?> arguments()
      Get the arguments that were passed to the constructor.
      java.lang.reflect.Constructor<?> constructor()
      Get the constructor that is invoked during the mock creation.
      int getCount()  
    • Method Detail

      • getCount

        int getCount()
      • constructor

        java.lang.reflect.Constructor<?> constructor()
        Get the constructor that is invoked during the mock creation.
        Returns:
        the constructor.
      • arguments

        java.util.List<?> arguments()
        Get the arguments that were passed to the constructor.
        Returns:
        the arguments passed to the constructor, as a list.