@Test
public void testGetMessages02() throws Exception {

    // 前処理
    DataSourceMessageSource ds = new DataSourceMessageSource();
    Locale locale = new Locale("ja", "JP", "");
    ds.cachedMergedProperties.clear();
    // テスト実施
    Properties returnProps = ds.getMessages(locale);
    // 判定
    assertEquals(1, ds.cachedMergedProperties.size());
    Properties result = null;
    result = ds.cachedMergedProperties.get(locale);
    assertSame(returnProps, result);
}