Class LazyFileOutputStreamTest
- java.lang.Object
-
- de.japrost.jabudget.serialization.LazyFileOutputStreamTest
-
public class LazyFileOutputStreamTest extends java.lang.Object
Test theLazyFileOutputStream
.
-
-
Constructor Summary
Constructors Constructor Description LazyFileOutputStreamTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeCut()
Be kind and close before exit.void
initCut()
Set cut and helping reader with a file.void
testWrite()
Test that write() opens the delegate and delegates.void
testWrite_twice()
Test that write() opens the delegate and delegates even two times.
-
-
-
Method Detail
-
initCut
public void initCut()
Set cut and helping reader with a file.
-
closeCut
public void closeCut() throws java.lang.Exception
Be kind and close before exit.- Throws:
java.lang.Exception
- never.
-
testWrite
public void testWrite() throws java.lang.Exception
Test that write() opens the delegate and delegates.- Throws:
java.lang.Exception
- never.
-
testWrite_twice
public void testWrite_twice() throws java.lang.Exception
Test that write() opens the delegate and delegates even two times.- Throws:
java.lang.Exception
- never.
-
-