when( accurev.defunct( basedir, testFileSet.getFileList(), "A deleted file" ) ).thenReturn( removedFiles );
AccuRevRemoveCommand command = new AccuRevRemoveCommand( getLogger() );
CommandParameters commandParameters = new CommandParameters();
commandParameters.setString( CommandParameter.MESSAGE, "A deleted file" );
RemoveScmResult result = command.remove( repo, testFileSet, commandParameters );
assertThat( result.isSuccess(), is( true ) );
assertThat( result.getRemovedFiles().size(), is( 1 ) );
assertHasScmFile( result.getRemovedFiles(), "removed/file", ScmFileStatus.DELETED );