fix moar flaky StorageTest.testNotificationStorage() [FINERACT-828]

similar fix to earlier Pull Request for the same

also added some more toString()
This commit is contained in:
Michael Vorburger
2020-05-17 21:29:20 +02:00
committed by Michael Vorburger ⛑️
parent e7889f8463
commit 5557b8be4a
3 changed files with 20 additions and 11 deletions
@@ -122,7 +122,7 @@ public class StorageTest {
);
verify(this.notificationGeneratorWritePlatformService, times(1)).create(refEq(notification, "createdAt"));
verify(this.notificationMapperWritePlatformService, times(1)).create(refEq(notificationMapper));
verify(this.notificationMapperWritePlatformService, times(1)).create(refEq(notificationMapper, "createdAt"));
verify(this.notificationGeneratorReadRepositoryWrapper, times(1)).findById(1L);
assertEquals(actualGeneratedNotificationId, Long.valueOf(1));
}