View Source Patch.Mock.Naming (patch v0.14.0)

Link to this section Summary

Functions

Canonical name for the delegate module for a provided module.

Canonical name for the facade module for a provided module.

Canonical name for the frozen module for a provided module.

Canonical name for the original module for a provided module.

Canonical name for the server process for a provided module.

Link to this section Functions

@spec delegate(module :: module()) :: module()

Canonical name for the delegate module for a provided module.

@spec facade(module :: module()) :: module()

Canonical name for the facade module for a provided module.

The facade module simply takes on the name of the provided module.

@spec frozen(module :: module()) :: module()

Canonical name for the frozen module for a provided module.

@spec original(module :: module()) :: module()

Canonical name for the original module for a provided module.

@spec server(module :: module()) :: GenServer.name()

Canonical name for the server process for a provided module.