getAnswer());
EntityProcessor entity = mock(EntityProcessor.class);
when(entity.readEntity(any(UriInfoImpl.class), anyString())).thenAnswer(getAnswer());
when(entity.existsEntity(any(UriInfoImpl.class), anyString())).thenAnswer(getAnswer());
when(entity.deleteEntity(any(UriInfoImpl.class), anyString())).thenAnswer(getAnswer());
when(entity.updateEntity(any(UriInfoImpl.class), any(InputStream.class), anyString(), anyBoolean(), anyString()))
.thenAnswer(getAnswer());
EntityComplexPropertyProcessor entityComplexProperty = mock(EntityComplexPropertyProcessor.class);
when(entityComplexProperty.readEntityComplexProperty(any(UriInfoImpl.class), anyString())).thenAnswer(getAnswer());