-
From https://stackoverflow.com/questions/52861619/are-typed-signatures-for-stubbed-methods-not-enforced-in-roles-for-perl6
Looks like `only` methods don't care if signatures match:
```
$ perl6 …
-
```
This issue is closely related to #349, however I am referring to the now
standard type java.util.Optional in Java 8 instead of Guava's.
A stubbed method that returns Optional should return Optio…
-
### Problem
There's multiple scenarios where mocking static functions in tests doesn't work.
#### Scenario A
Static functions that are destructured when they are required in a module create a loc…
-
When stubbing a class method that returns boolean on a class mock, an error occurs when trying to set the return value.
ExampleClass has a method with the following signature:
```
+ (BOOL)booleanCla…
-
Please highlight in your introductory text that both methods and classes need to be marked open - perhaps by way of example.
I wasted a lot of time chasing around why
```
open class TimeFactory…
-
Just wanted to check in to see if this library is still being maintained. I'd like to reliably use it, but notice there's a long standing open PR. Would be happy to help out if that's needed
-
When running and I have missed mocking a method I get this message:
> fakeit.hpp:1120: Failure
> Unexpected method invocation: unknown()
> An unmocked method was invoked. All used virtual methods…
-
I'm talking about: http://php.net/manual/en/language.oop5.final.php
Why I need this: https://phpunit.de/manual/current/en/test-doubles.html
Final, private and static methods cannot be stubbed or m…
yapro updated
7 years ago
-
Currently all mocks created by OCMockito are 'nice' mocks and always return something even on methods that have not been stubbed.
Would be nice to have a `strictMock()` alternative that would instead…
-
I see that some of the methods in ParseUser are stubbed out for now. Any eta on when they will be implemented? Also, will the currentUser be set when ParseUser is fully implemented? Thanks!