I have an entity that has an updated_time column.
The entity uses @UpdateTimestamp hibernate annotation to handle the update automatically.
In my testing, I need to seed some old data with update_time value from 7 days ago.
Is it possible to mock the @UpdateTimestamp to return a specific date, without mocking the System.currentTimeMillis()?
Note: The testing framework I use is JUnit & Mockito for mocking.