@Override
protected void setupExpectations() throws Exception {
storageUtil.expectWriteOperation();
storageUtil.jobUpdateStore.saveJobInstanceUpdateEvent(event, UPDATE_ID);
streamMatcher.expectTransaction(Op.saveJobInstanceUpdateEvent(
new SaveJobInstanceUpdateEvent(event.newBuilder(), UPDATE_ID))).andReturn(position);
}
@Override
protected void performMutations(MutableStoreProvider storeProvider) {
storeProvider.getJobUpdateStore().saveJobInstanceUpdateEvent(event, UPDATE_ID);