@Test(expectedExceptions = UnsupportedOperationException.class, expectedExceptionsMessageRegExp = "Transformation operations must always save results") public void saveResultTest() { TransformationOperation transformationOperation = getNewTestTransformationOperation(); assertTrue(transformationOperation.isSaveResult()); transformationOperation.setSaveResult(false); }
@Override protected final T setSaveResult(boolean saveResult) { throw new UnsupportedOperationException("Transformation operations must always save results"); }
TransformationOperation extends TransformationUtility<T> { @Override protected final T setSaveResult(boolean saveResult) { throw new UnsupportedOperationException("Transformation operations must always save results"); } }
TransformationOperation extends TransformationUtility<T> { @Override protected final T setSaveResult(boolean saveResult) { throw new UnsupportedOperationException("Transformation operations must always save results"); } TransformationOperation(); }
TransformationOperation extends TransformationUtility<T> { @Override protected final T setSaveResult(boolean saveResult) { throw new UnsupportedOperationException("Transformation operations must always save results"); } TransformationOperation(); @Override final PerformResult perform(File transformedAppFolder, TransformationContext transformationContext); }
TransformationOperation extends TransformationUtility<T> { @Override protected final T setSaveResult(boolean saveResult) { throw new UnsupportedOperationException("Transformation operations must always save results"); } TransformationOperation(); @Override final PerformResult perform(File transformedAppFolder, TransformationContext transformationContext);  }