### Question:
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; }### Answer:
@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); }