Closed pionl closed 6 months ago
If we are using closures, we can generate from closure typehints expected result and input parameters:
expectation would not create Closure $createData but
Closure $createData
public readonly NotebookPageEntity $createDataPage, public readonly NotebookFinancePageEntity $createDataResultResult,
Assert::assertEquals($createData($expectation->createDataResultPage), $expectation->createDataResult, $message);
https://github.com/larastrict/strict-mock/issues/10
If we are using closures, we can generate from closure typehints expected result and input parameters:
expectation would not create
Closure $createData
but