-
When mocking commands like XAdd with multiple values the test will fail randomly depending on the order of the values the mock and client decide to put them in. Is there a way to validate that these c…
-
Normally, Moq uses generic APIs which is a great thing for ensure strong-typed, refactor-friendly mocking API. However, when the scenario is that we need to mock a runtime type, we can descend into a …
-
## Description
Get_relation raises a KeyError when the relation does not exist instead of returning None.
## Current Behavior
- **Given** the relation does not exist
- **When** the charm call…
-
## 🚀 Feature Proposal
This introduces an easy-to-use, lightweight and concise way to (partially) mock typed APIs (Typescript modules, types, classes and above all interfaces) without introducing an…
-
### Expected Behavior
Mocked method should returns ByteArray
### Current Behavior
If we tries to mock the `get` method in the selected interface:
```kotlin
interface A {
fun get(k: K):…
-
```
Hello,
I'm using Moq v3.5.716.1 and I want to mock a large interface (~630 methods).
While processing the following lines some exceptions occure:
Dim mJob As New Mock(Of IJobInterface)
target._…
-
Hi,
used an older version of simpletest and upgraded now to the master as I required namespaced mocks (great btw).
Unfortunately it seems that interfaces having methods defining the class type i…
-
```
Hello,
I'm using Moq v3.5.716.1 and I want to mock a large interface (~630 methods).
While processing the following lines some exceptions occure:
Dim mJob As New Mock(Of IJobInterface)
target._…
-
```
Hello,
I'm using Moq v3.5.716.1 and I want to mock a large interface (~630 methods).
While processing the following lines some exceptions occure:
Dim mJob As New Mock(Of IJobInterface)
target._…
-
Currently, the `dbus-sensors` sensor daemons support the idea of sensor value override, that is, the ability to receive a written value from a D-Bus incoming command, instead of reading the actual val…