KentBeck/junit — pull request #419 by simplyarjen (2012-04-10 19:53:18+00:00)
Title: Make TemporaryFolder.createFile fail if the file already exists (Fixes #413)

I've added a check on the return code of File.createNewFile to throw an IllegalStateException if the file already exists. I believe this is the smallest change that fixes the original issue. Some tests are included to verify the new behaviour.