Jonathan Lagneaux
Jonathan Lagneaux
Hello i am facing the same issue on a small percentage of my client app. Same stack trace : java.lang.IllegalStateException: Not connected yet at ua.naiksoftware.stomp.AbstractConnectionProvider.lambda$send$0$AbstractConnectionProvider()(AbstractConnectionProvider.java:77) at ua.naiksoftware.stomp.-$$Lambda$AbstractConnectionProvider$i_moq_Q2vigeLagkjZBHpwYcZXU.call()(undefined:4) at io.reactivex.internal.operators.completable.CompletableFromCallable.subscribeActual()(CompletableFromCallable.java:35) at...
I can try to propose a PR for what you said @Raibaz. Checking if `wasNot` is being call on a mocked object if not i will throw an Exception.
Also, I have two tests failing with this implementation: - `ConstructorMockTest.givenEmptyCallListInStubbingStateWhenRecordingDoneIsCalledThenExceptionIsThrown()` - `ConstructorMockTest.clear`, those test use `wasNot` on a non mocked object
It's working for the `StubbingStateTest.kt` as mentioned by @jcopenhop. But replacing this: ``` verify { anyConstructed() wasNot Called } ``` By this: ``` verify(exactly = 0) { anyConstructed() } ```...
Done https://github.com/mockk/mockk/issues/1224 I have ignore this test for now and link the issue to it.
I'v added a PR to add some documentation about the `pathEvery` function, hope it's good for you 🙏 I didn't added anything for the `path` function because there is already...