} catch ( NotFoundException e ) {
// Expected exception
}
try {
pentahoUser = new PentahoUser( null, USER_6, PASSWORD_6, USER_DESCRIPTION_6, true );
userRoleDaoProxy.deleteUser( pentahoUser );
fail( "Exception not thrown" );
} catch ( Exception ex ) {
// Expected exception
}
try {
pentahoUser = new PentahoUser( mainTenant_1, null, PASSWORD_6, USER_DESCRIPTION_6, true );
userRoleDaoProxy.deleteUser( pentahoUser );
fail( "Exception not thrown" );
} catch ( NotFoundException e ) {
// Expected exception
}
try {
pentahoUser = new PentahoUser( mainTenant_1, UNKNOWN_USER, PASSWORD_6, USER_DESCRIPTION_6, true );
userRoleDaoProxy.deleteUser( pentahoUser );
fail( "Exception not thrown" );
} catch ( NotFoundException e ) {
// Expected exception
}