org.springframework.batch.sample.item.writer
Class RetrySampleItemWriterTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.batch.sample.item.writer.RetrySampleItemWriterTests
All Implemented Interfaces:
junit.framework.Test

public class RetrySampleItemWriterTests
extends junit.framework.TestCase

Tests for RetrySampleItemWriter.

Author:
Robert Kasanicky

Constructor Summary
RetrySampleItemWriterTests()
           
 
Method Summary
 void testProcess()
          Processing throws exception on 2nd and 3rd call.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RetrySampleItemWriterTests

public RetrySampleItemWriterTests()
Method Detail

testProcess

public void testProcess()
                 throws Exception
Processing throws exception on 2nd and 3rd call.

Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.