Class - test : MemberVariableStub

Represents an object that allows stubbing member variables retrieved.

Methods

Sets the value to be returned when the function is called.

thenReturn

(any | error returnValue)

Sets the value to be returned when the function is called.

Parameters

  • returnValue any | error
  • value or error to return