Skip to content

support interface property override#257

Open
ShellyDCMS wants to merge 1 commit intottarnowski:masterfrom
ShellyDCMS:support-interface-property-overrides
Open

support interface property override#257
ShellyDCMS wants to merge 1 commit intottarnowski:masterfrom
ShellyDCMS:support-interface-property-overrides

Conversation

@ShellyDCMS
Copy link
Copy Markdown

Some use cases require stubbing a service without creating an object, as the constructor has unwanted side effects, which are non relevant in a test scenario.
This change allows overriding class properties in a stub created by stubInterface.
Related issue: #134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant