DATAREST-1491 - Adapt to Mockito 3.3 changes.

This commit is contained in:
Mark Paluch
2020-03-11 09:34:57 +01:00
parent 0f79ac7bb0
commit abedcd130a
2 changed files with 0 additions and 2 deletions

View File

@@ -49,7 +49,6 @@ public class RootResourceInformationUnitTests {
@Before
public void setUp() {
when(metadata.isExported()).thenReturn(true);
this.invoker = mock(RepositoryInvoker.class, new DefaultBooleanToTrue());
this.information = new RootResourceInformation(metadata, entity, invoker);
}

View File

@@ -99,7 +99,6 @@ public class UriStringDeserializerUnitTests {
when(property.getActualType()).thenReturn((Class) Object.class);
when(parser.getValueAsString()).thenReturn(source);
when(parser.getText()).thenReturn(source);
return deserializer.deserialize(parser, context);
}