@Test
public void testPutProject() throws Exception {

  final File file = mock(File.class);
  final int projectId = 1234;
  final int version = 1;
  final String uploader = "testuser";
  final ProjectStorageMetadata metadata = new ProjectStorageMetadata(projectId, version,
      uploader, null, IPv4);
  this.databaseStorage.putProject(metadata, file);
  verify(this.projectLoader).uploadProjectFile(projectId, version, file,
      uploader, IPv4);
}