@Test
public void getScriptingLanguageIfNullLanguage() {

    final ScriptingLanguage lang = new ConfigDef(nodeMock, null).
        getScriptingLanguage();
    assertNotNull("Default scripting language is null.", lang);
    assertEquals("Unexpected default scripting language.",
            ScriptingLanguage.BEANSHELL, lang);
}