This commit is contained in:
René Pfeuffer
2018-11-08 14:39:30 +01:00
parent 8d057f7745
commit 97d158ab35
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ import static org.mockito.Mockito.verify;
public class CloseableWrapperTest {
@Test
public void x() {
public void shouldExecuteGivenMethodAtClose() {
Consumer<String> wrapped = new Consumer<String>() {
// no this cannot be replaced with a lambda because otherwise we could not use Mockito#spy
@Override