Writing automatic tests requiring external resources

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History
public void testUsingFTPServer() throws IOException {
// ...
final BaseUser user1 = new BaseUser();

// A temporary file create at the root of a use home directory.
final String aTemporaryFileOfUser1 = this.ftpServer.registerUser(user1);

// ...
this.ftpServer.registerUser(user);
// ...
final String aTemporaryFile = this.ftpServer.registerFile(user);
// ...
}
}