Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SinonExpectationStatic

Index

Methods

Methods

create

  • Creates an expectation without a mock object, basically an anonymous mock function. Method name is optional and is used in exception messages to make them more readable.

    Parameters

    • Optional methodName: string

    Returns SinonExpectation