@Test public void testGetLastOperationProgress() { doReturn(OPERATION_PROGRESS_JSON).when(mockEnvironmentFieldRetriever).getField(HandlerField.LAST_PROGRESS.name()); launchDataWrapper.setJsonHelper(jsonHelper); OperationProgress lastOperationProgress = launchDataWrapper.getLastOperationProgress(); Assert.assertNotNull(lastOperationProgress); Assert.assertNotNull(lastOperationProgress.getParams()); Assert.assertTrue(lastOperationProgress.getParams().containsKey(JOB_PARAM_NAME)); }
@Override public OperationProgress getLastOperationProgress() { return getLastProgressObject(OperationProgress.class); }
DefaultLaunchDataWrapper extends LaunchDataWrapper { @Override public OperationProgress getLastOperationProgress() { return getLastProgressObject(OperationProgress.class); } }
DefaultLaunchDataWrapper extends LaunchDataWrapper { @Override public OperationProgress getLastOperationProgress() { return getLastProgressObject(OperationProgress.class); } DefaultLaunchDataWrapper(String[] args);  DefaultLaunchDataWrapper(ArgumentRetriever argumentRetriever, EnvironmentFieldRetriever environmentRetriever, PropertyRetriever propertyRetriever);  DefaultLaunchDataWrapper(ArgumentRetriever argumentRetriever); }
DefaultLaunchDataWrapper extends LaunchDataWrapper { @Override public OperationProgress getLastOperationProgress() { return getLastProgressObject(OperationProgress.class); } DefaultLaunchDataWrapper(String[] args);  DefaultLaunchDataWrapper(ArgumentRetriever argumentRetriever, EnvironmentFieldRetriever environmentRetriever, PropertyRetriever propertyRetriever);  DefaultLaunchDataWrapper(ArgumentRetriever argumentRetriever); @Override String getPayload(); @Override OperationProgress getLastOperationProgress(); @Override T getLastProgressObject(Class<T> objectClass); @Override T getLastOperationProgressParam(String paramName, Class<T> objectClass); void setJsonHelper(JsonHelper jsonHelper); }
DefaultLaunchDataWrapper extends LaunchDataWrapper { @Override public OperationProgress getLastOperationProgress() { return getLastProgressObject(OperationProgress.class); } DefaultLaunchDataWrapper(String[] args);  DefaultLaunchDataWrapper(ArgumentRetriever argumentRetriever, EnvironmentFieldRetriever environmentRetriever, PropertyRetriever propertyRetriever);  DefaultLaunchDataWrapper(ArgumentRetriever argumentRetriever); @Override String getPayload(); @Override OperationProgress getLastOperationProgress(); @Override T getLastProgressObject(Class<T> objectClass); @Override T getLastOperationProgressParam(String paramName, Class<T> objectClass); void setJsonHelper(JsonHelper jsonHelper);  }