001/*
002 *  jDTAUS Banking RI Bankleitzahlenverzeichnis
003 *  Copyright (c) 2011 Christian Schulte
004 *
005 *  This library is free software; you can redistribute it and/or
006 *  modify it under the terms of the GNU Lesser General Public
007 *  License as published by the Free Software Foundation; either
008 *  version 2.1 of the License, or any later version.
009 *
010 *  This library is distributed in the hope that it will be useful,
011 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
012 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013 *  Lesser General Public License for more details.
014 *
015 *  You should have received a copy of the GNU Lesser General Public
016 *  License along with this library; if not, write to the Free Software
017 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
018 *
019 */
020package org.jdtaus.banking.ri.blzdirectory.test;
021
022import java.net.URL;
023import org.jdtaus.banking.ri.blzdirectory.BankfileBankleitzahlenVerzeichnis;
024
025/**
026 * Tests the {@link BankfileBankleitzahlenVerzeichnis} implementation to operate without finding resources.
027 *
028 * @author <a href="mailto:cs@schulte.it">Christian Schulte</a>
029 * @version $JDTAUS: BankfileBankleitzahlenVerzeichnis_NoBankfiles_Test.java 8661 2012-09-27 11:29:58Z schulte $
030 */
031public class BankfileBankleitzahlenVerzeichnis_NoBankfiles_Test extends AbstractBankfileBankleitzahlenVerzeichnisTest
032{
033
034    protected ClassLoader getClassLoader()
035    {
036        final ResourceLoader cl = new ResourceLoader( this.getClass().getClassLoader() );
037        cl.addResources( "META-INF/jdtaus/bankfiles.properties", new URL[]
038            {
039                this.getClass().getResource( "no-bankfiles.properties" )
040            } );
041
042        return cl;
043    }
044
045    public void testBankleitzahlExpirationException() throws Exception
046    {
047        System.out.println( "Skipped due to empty directory." );
048    }
049
050}