-
The static block of the java class is not initialized if there is a method inside. The code below fails with NPE at `SomeJavaClass.getStringLength()`
```kotlin
import SomeJavaClass
import io.mock…
-
### Prerequisites
Please answer the following questions for yourself before submitting an issue.
- [x] I am running the latest version
- [x] I checked the documentation and found no answer
- […
-
Currently there is no easy way to mock for tests. I played around with [FakeIt](https://github.com/eranpeer/FakeIt) but it only supports virtual member functions. I would also need a way to mock stati…
-
It would be very useful to mock internal/private functions.
I have a public/external function that calls a bunch of internal functions and I would like to change those internal functions behaviour.
-
## Expected Behavior
Mocking the Redis provider when running an e2e test should provide a mocked redis instance that does not try connection to a Redis server.
app.module.ts:
```
@Module({
…
-
`nock` has several customization options that would be nice to implement in ember-cli-fastboot-testing's network mocking. Just to mention a few:
- [Setting of the hostname](https://github.com/nock…
-
```
The following test case can not pass with PowerMock 1.4.11 + Mockito 1.8.5 or
PowerMock 1.5.4 + Mockito 1.9.5. ClassCastException occurs.
@Test
public void test_mock_object_with_multiple…
-
```
There's a bug in EasyMock that treats methods called in the ctor as mocked even
though they're not. In these cases it would be good to simply be able to
suppress the methods called in the ctor. …
-
```
What steps will reproduce the problem?
1. Run the code attached
2. Observe the stacktrace
What is the expected output? What do you see instead?
Expected: No java.lang.StackOverflowError
Observe…
-
To be complete:
- Define features
- MVP Goals
- Start mocking classes