DATAREST-1491 - Adapt to Mockito 3.3 changes.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user