@Test public void testGetProcessStepRollBack() throws NoPeerConnectionException, InvalidProcessStateException { NetworkManager getter = network.get(0); NetworkManager holder = network.get(1); String locationKey = holder.getNodeId(); String contentKey = randomString(); TestGetProcessStepRollBack getStepRollBack = new TestGetProcessStepRollBack(locationKey, contentKey, getter.getDataManager()); TestExecutionUtil.executeProcessTillFailed(getStepRollBack); Assert.assertNull(getStepRollBack.getContent()); }
protected BaseNetworkContent get(PublicKey locationKey, String contentKey) throws InvalidProcessStateException { return get(H2HDefaultEncryption.key2String(locationKey), contentKey); }
BaseGetProcessStep extends ProcessStep<Void> { protected BaseNetworkContent get(PublicKey locationKey, String contentKey) throws InvalidProcessStateException { return get(H2HDefaultEncryption.key2String(locationKey), contentKey); } }
BaseGetProcessStep extends ProcessStep<Void> { protected BaseNetworkContent get(PublicKey locationKey, String contentKey) throws InvalidProcessStateException { return get(H2HDefaultEncryption.key2String(locationKey), contentKey); } BaseGetProcessStep(DataManager dataManager); }
BaseGetProcessStep extends ProcessStep<Void> { protected BaseNetworkContent get(PublicKey locationKey, String contentKey) throws InvalidProcessStateException { return get(H2HDefaultEncryption.key2String(locationKey), contentKey); } BaseGetProcessStep(DataManager dataManager);  }
BaseGetProcessStep extends ProcessStep<Void> { protected BaseNetworkContent get(PublicKey locationKey, String contentKey) throws InvalidProcessStateException { return get(H2HDefaultEncryption.key2String(locationKey), contentKey); } BaseGetProcessStep(DataManager dataManager);   }