org.kuali.rice.shareddata.impl.country
Class CountryServiceImplTest

java.lang.Object
  extended by org.kuali.rice.shareddata.impl.country.CountryServiceImplTest
All Implemented Interfaces:
groovy.lang.GroovyObject
Direct Known Subclasses:
CountryServiceRemoteTest

public class CountryServiceImplTest
extends Object
implements groovy.lang.GroovyObject


Constructor Summary
CountryServiceImplTest()
           
 
Method Summary
static void createSampleCountryBOs()
           
 void findAllCountriesNotRestricted()
           
 void findAllCountriesNotRestrictedReturnsImmutableList()
           
 BusinessObjectService getBos()
           
 groovy.mock.interceptor.MockFor getBusinessObjectServiceMockFor()
           
 CountryService getCountryService()
           
 CountryServiceImpl getCountryServiceImpl()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
static Map<String,CountryBo> getSampleCountries()
           
static Map<String,CountryBo> getSampleCountriesKeyedByAltCode()
           
 void injectBusinessObjectServiceIntoCountryService()
           
 Object invokeMethod(String method, Object arguments)
           
 void setBos(BusinessObjectService value)
           
 void setBusinessObjectServiceMockFor(groovy.mock.interceptor.MockFor value)
           
 void setCountryService(CountryService value)
           
 void setCountryServiceImpl(CountryServiceImpl value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
static void setSampleCountries(Map<String,CountryBo> value)
           
static void setSampleCountriesKeyedByAltCode(Map<String,CountryBo> value)
           
 void setupBoServiceMockContext()
           
 void setupServiceUnderTest()
           
 void test_getCountry()
           
 void testFindAllCountries()
           
 void testFindAllCountriesReturnsImmutableList()
           
 void testGetByAlternateCode()
           
 void testGetByAlternateCodeWhenMultipleFound()
           
 void testGetByAlternateCodeWhenNoneFound()
           
 void testGetByAlternateCodeWithEmptyCode()
           
 void testGetByAlternateCodeWithNullCode()
           
 void testGetByPrimaryIdEmptyCountryCode()
           
 void testGetByPrimaryIdNullCountryCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountryServiceImplTest

public CountryServiceImplTest()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

getSampleCountries

public static Map<String,CountryBo> getSampleCountries()

setSampleCountries

public static void setSampleCountries(Map<String,CountryBo> value)

getSampleCountriesKeyedByAltCode

public static Map<String,CountryBo> getSampleCountriesKeyedByAltCode()

setSampleCountriesKeyedByAltCode

public static void setSampleCountriesKeyedByAltCode(Map<String,CountryBo> value)

getBusinessObjectServiceMockFor

public groovy.mock.interceptor.MockFor getBusinessObjectServiceMockFor()

setBusinessObjectServiceMockFor

public void setBusinessObjectServiceMockFor(groovy.mock.interceptor.MockFor value)

getBos

public BusinessObjectService getBos()

setBos

public void setBos(BusinessObjectService value)

getCountryServiceImpl

public CountryServiceImpl getCountryServiceImpl()

setCountryServiceImpl

public void setCountryServiceImpl(CountryServiceImpl value)

getCountryService

public CountryService getCountryService()

setCountryService

public void setCountryService(CountryService value)

createSampleCountryBOs

public static void createSampleCountryBOs()

setupBoServiceMockContext

public void setupBoServiceMockContext()

setupServiceUnderTest

public void setupServiceUnderTest()

injectBusinessObjectServiceIntoCountryService

public void injectBusinessObjectServiceIntoCountryService()

test_getCountry

public void test_getCountry()

testGetByPrimaryIdEmptyCountryCode

public void testGetByPrimaryIdEmptyCountryCode()

testGetByPrimaryIdNullCountryCode

public void testGetByPrimaryIdNullCountryCode()

testGetByAlternateCode

public void testGetByAlternateCode()

testGetByAlternateCodeWhenNoneFound

public void testGetByAlternateCodeWhenNoneFound()

testGetByAlternateCodeWhenMultipleFound

public void testGetByAlternateCodeWhenMultipleFound()

testGetByAlternateCodeWithEmptyCode

public void testGetByAlternateCodeWithEmptyCode()

testGetByAlternateCodeWithNullCode

public void testGetByAlternateCodeWithNullCode()

findAllCountriesNotRestricted

public void findAllCountriesNotRestricted()

findAllCountriesNotRestrictedReturnsImmutableList

public void findAllCountriesNotRestrictedReturnsImmutableList()

testFindAllCountries

public void testFindAllCountries()

testFindAllCountriesReturnsImmutableList

public void testFindAllCountriesReturnsImmutableList()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.