LoggerPtr root = Logger::getRootLogger();
ResourceBundlePtr rbUS(getBundle(LOG4CXX_STR("en"), LOG4CXX_STR("US"))); ResourceBundlePtr rbFR(getBundle(LOG4CXX_STR("fr"), LOG4CXX_STR("FR"))); ResourceBundlePtr rbCH(getBundle(LOG4CXX_STR("fr"), LOG4CXX_STR("CH")));  LoggerPtr root = Logger::getRootLogger();
	void testRB3()	{		LoggerPtr root = Logger::getRootLogger();		root->setResourceBundle(rbUS);		ResourceBundlePtr t = root->getResourceBundle();		CPPUNIT_ASSERT(t == rbUS);		LoggerPtr x = Logger::getLogger(LOG4CXX_TEST_STR("x"));		LoggerPtr x_y = Logger::getLogger(LOG4CXX_TEST_STR("x.y"));		LoggerPtr x_y_z = Logger::getLogger(LOG4CXX_TEST_STR("x.y.z"));		x_y->setResourceBundle(rbFR);		x_y_z->setResourceBundle(rbCH);		t = x->getResourceBundle();		CPPUNIT_ASSERT(t == rbUS);		t = x_y->getResourceBundle();		CPPUNIT_ASSERT(t == rbFR);		t = x_y_z->getResourceBundle();		CPPUNIT_ASSERT(t == rbCH);	}