Skip to content

Prophesize missing properties action #2

@step307

Description

@step307

Additional helper would be great, which:

  1. Finds all private properties which are initialized in constructor
  2. Adds them to constructor with prophesize accordingly their classes from doc block

Use case:
When a test needs several more mocks which are not a part of subject constructor calls, developer could just add private properties and generate all prophesies by this magic feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions