// Remove the listener before assertions to avoid impact of
// failures on other tests.
control.removeEventListener(EventType.LANGUAGE_CHANGED, this);
LanguageCode srcLang = result.getSourceLanguage();
LanguageCode destLang = result.getDestinationLanguage();
// Verify that language change is correctly reflected by result.
// TODO(zundel): disabled due to known API bug
// assertEquals("Expected ENGLISH as source language", LanguageCode.ENGLISH, srcLang);
// assertEquals("Expected KANNADA as destination language", LanguageCode.ENGLISH, destLang);