-
aa18c66a349c8f33ad061e2d6ff655233aa2b762 allowed mocks to be Send/Sync by forcing the user only provide Send closures, and using `Mutex` instead of `RefCell` for the interior mutability of the `MockSt…
nrxus updated
4 years ago
-
```
Here is a simple example:
SomeClass mock = Mokito.mock(SomeClass.class);
RealObject realObject = new RealObject();
InOrder order = Mockito.inOrder(realObject, mock);
I would expect an exception…
-
```
Guava's Optional is described here:
http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/base/Op
tional.html
It'd be nice when calling a method on a mocked object whose retur…
-
```
Here is a simple example:
SomeClass mock = Mokito.mock(SomeClass.class);
RealObject realObject = new RealObject();
InOrder order = Mockito.inOrder(realObject, mock);
I would expect an exception…
-
```
Guava's Optional is described here:
http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/base/Op
tional.html
It'd be nice when calling a method on a mocked object whose retur…
-
```
Here is a simple example:
SomeClass mock = Mokito.mock(SomeClass.class);
RealObject realObject = new RealObject();
InOrder order = Mockito.inOrder(realObject, mock);
I would expect an exception…
-
```
Guava's Optional is described here:
http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/base/Op
tional.html
It'd be nice when calling a method on a mocked object whose retur…
-
### Who for
- Users
### What
- People skim through the onboarding
- The slick animation in the first one is not here
- The scores look weird
- It's not obvious that you can tap on the cards to d…
-
```
In a Mock throw a checked exception
1 * repository.findOne(42l) >> {throw new NotFoundException("oh no!")}
In the "then" clause use the thrown check to verify the exception
thrown(NotFoun…
-
## Issue Description
From [Map future-state solution for failure paths in the submission experience #81418](https://app.zenhub.com/workspaces/disability-experience-63dbdb0a401c4400119d3a44/issues/gh/d…