Class ArgRecorderAnswer<T>

java.lang.Object
com.sap.retail.sapppspricing.impl.ArgRecorderAnswer<T>
All Implemented Interfaces:
org.mockito.stubbing.Answer<T>

public class ArgRecorderAnswer<T> extends Object implements org.mockito.stubbing.Answer<T>
  • Constructor Details

    • ArgRecorderAnswer

      public ArgRecorderAnswer()
  • Method Details

    • answer

      public T answer(org.mockito.invocation.InvocationOnMock invocation) throws Throwable
      Specified by:
      answer in interface org.mockito.stubbing.Answer<T>
      Throws:
      Throwable
    • getArg

      public <X> X getArg(int index)
    • getArgCount

      public int getArgCount()