KeyPair protectionKeys = EncryptionUtil.generateRSAKeyPair();
// initialize the process and the one and only step to test
PutLocationContext context = new PutLocationContext(newLocations, protectionKeys);
PutUserLocationsStep step = new PutUserLocationsStep(context, context, putter.getDataManager());
TestProcessComponentListener listener = new TestProcessComponentListener();
step.attachListener(listener);
step.start();
// wait for the process to finish
UseCaseTestUtil.waitTillFailed(listener, 10);