コード例 #1
0
 @Test(groups = {"fast-unit"})
 public void fileThatIsNotCopied_shouldNot_existInFileSystem() {
   assertFalse(putter.isFileCopiedToFileSystem(new File("somefile")));
 }
コード例 #2
0
 @Test(groups = {"fast-unit"})
 public void copyingFileThatExists_should_existInFileSystemCopiedTo() throws IOException {
   File tempFile = createFile();
   putter.putFile(tempFile);
   assertTrue(putter.isFileCopiedToFileSystem(tempFile));
 }