package io.gitlab.jfronny.translater; import io.gitlab.jfronny.translater.translation.GoogleService; import io.gitlab.jfronny.translater.translation.WurstGoogleBackend; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class GoogleBackendTest { @Test void simpleTranslate() { WurstGoogleBackend gb = new WurstGoogleBackend(); assertEquals("Guten Morgen.", gb.translate("Good morning.", GoogleService.Language.GERMAN, GoogleService.Language.ENGLISH)); } }