Interface StubbingLookupEvent


  • public interface StubbingLookupEvent
    Represent an information about the looked up stubbing
    Since:
    2.24.6
    • Method Detail

      • getInvocation

        Invocation getInvocation()
        Returns:
        The invocation that causes stubbing lookup
        Since:
        2.24.6
      • getStubbingFound

        Stubbing getStubbingFound()
        Returns:
        Looked up stubbing. It can be null, which indicates that the invocation was not stubbed
        Since:
        2.24.6
      • getAllStubbings

        Collection<Stubbing> getAllStubbings()
        Returns:
        All stubbings declared on the mock object that we are invoking
        Since:
        2.24.6
      • getMockSettings

        MockCreationSettings getMockSettings()
        Returns:
        Settings of the mock object that we are invoking
        Since:
        2.24.6