//-----------------------------------------------------------------------
public void testNameProvider() {
try {
assertNotNull(DateTimeZone.getNameProvider());
NameProvider provider = DateTimeZone.getNameProvider();
DateTimeZone.setNameProvider(null);
assertEquals(provider.getClass(), DateTimeZone.getNameProvider().getClass());
provider = new MockOKButNullNameProvider();
DateTimeZone.setNameProvider(provider);
assertSame(provider, DateTimeZone.getNameProvider());