@Test public void testGetLanguage() { final JSONString languageId = mock(JSONString.class); final JavaScriptObject expectedLanguage = mock(JavaScriptObject.class); doReturn(languageId).when(factory).makeJSONString(FEEL_LANGUAGE_ID); doReturn(expectedLanguage).when(factory).makeJavaScriptObject("id", languageId); final JavaScriptObject actualLanguage = factory.getLanguage(); assertEquals(expectedLanguage, actualLanguage); }
public JavaScriptObject getLanguage() { return makeJavaScriptObject("id", makeJSONString(FEEL_LANGUAGE_ID)); }
MonacoPropertiesFactory { public JavaScriptObject getLanguage() { return makeJavaScriptObject("id", makeJSONString(FEEL_LANGUAGE_ID)); } }
MonacoPropertiesFactory { public JavaScriptObject getLanguage() { return makeJavaScriptObject("id", makeJSONString(FEEL_LANGUAGE_ID)); }  }
MonacoPropertiesFactory { public JavaScriptObject getLanguage() { return makeJavaScriptObject("id", makeJSONString(FEEL_LANGUAGE_ID)); }  JavaScriptObject getConstructionOptions(); JavaScriptObject getThemeData(); JSONArray getRules(); JavaScriptObject getCompletionItemProvider(final MonacoFEELVariableSuggestions variableSuggestions); JavaScriptObject getLanguageDefinition(); JSONValue getTokenizer(); JSONArray getRoot(); JSONArray row(final String pattern,
                         final String name); JavaScriptObject getLanguage(); }
MonacoPropertiesFactory { public JavaScriptObject getLanguage() { return makeJavaScriptObject("id", makeJSONString(FEEL_LANGUAGE_ID)); }  JavaScriptObject getConstructionOptions(); JavaScriptObject getThemeData(); JSONArray getRules(); JavaScriptObject getCompletionItemProvider(final MonacoFEELVariableSuggestions variableSuggestions); JavaScriptObject getLanguageDefinition(); JSONValue getTokenizer(); JSONArray getRoot(); JSONArray row(final String pattern,
                         final String name); JavaScriptObject getLanguage(); static final String FEEL_LANGUAGE_ID; static final String FEEL_THEME_ID; }