@Test
public void testInternalResolveCodeWithoutArguments04() throws Exception {

    // 前処理
    DataSourceMessageSource ds = new DataSourceMessageSource();
    String code = "code01";
    Locale locale = new Locale("ja", "JP", "");
    ds.defaultLocale = new Locale("en", "US", "");
    // cachedMergedProperties生成
    Map<Locale, Properties> map = new HashMap<Locale, Properties>();
    Properties props = new Properties();
    Locale msglocale = new Locale("ja", "JP", "kansai");
    String msg = "テストメッセージ０１やで";
    props.put(code, msg);
    map.put(msglocale, props);
    ds.cachedMergedProperties = map;
    // テスト実施
    String returnMsg = ds.internalResolveCodeWithoutArguments(code, locale);
    // 判定
    assertNull(returnMsg);
}