@Test public void testGetLanguageDefinition() { final JSONValue tokenizer = mock(JSONValue.class); final JavaScriptObject expectedLanguageDefinition = mock(JavaScriptObject.class); doReturn(expectedLanguageDefinition).when(factory).makeJavaScriptObject("tokenizer", tokenizer); doReturn(tokenizer).when(factory).getTokenizer(); final JavaScriptObject actualLanguageDefinition = factory.getLanguageDefinition(); assertEquals(expectedLanguageDefinition, actualLanguageDefinition); }
public JavaScriptObject getLanguageDefinition() { return makeJavaScriptObject("tokenizer", getTokenizer()); }
MonacoPropertiesFactory { public JavaScriptObject getLanguageDefinition() { return makeJavaScriptObject("tokenizer", getTokenizer()); } }
MonacoPropertiesFactory { public JavaScriptObject getLanguageDefinition() { return makeJavaScriptObject("tokenizer", getTokenizer()); }  }
MonacoPropertiesFactory { public JavaScriptObject getLanguageDefinition() { return makeJavaScriptObject("tokenizer", getTokenizer()); }  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 getLanguageDefinition() { return makeJavaScriptObject("tokenizer", getTokenizer()); }  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; }