@@ -0,0 +1,1563 @@
+/* LanguageTool, a natural language style checker %0A * Copyright (C) 2013 Daniel Naber (http://www.danielnaber.de)%0A * %0A * This library is free software; you can redistribute it and/or%0A * modify it under the terms of the GNU Lesser General Public%0A * License as published by the Free Software Foundation; either%0A * version 2.1 of the License, or (at your option) any later version.%0A *%0A * This library is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU%0A * Lesser General Public License for more details.%0A *%0A * You should have received a copy of the GNU Lesser General Public%0A * License along with this library; if not, write to the Free Software%0A * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301%0A * USA%0A */%0Apackage org.languagetool.rules.de;%0A%0Aimport org.junit.Test;%0Aimport org.languagetool.AnalyzedToken;%0Aimport org.languagetool.AnalyzedTokenReadings;%0Aimport org.languagetool.tagging.de.GermanToken;%0A%0Aimport static junit.framework.TestCase.assertFalse;%0Aimport static junit.framework.TestCase.assertTrue;%0A%0Apublic class GermanHelperTest %7B%0A  %0A  @Test%0A  public void testHasReadingOfType() throws Exception %7B%0A    AnalyzedTokenReadings readings = new AnalyzedTokenReadings(new AnalyzedToken(%22der%22, %22ART:DEF:DAT:SIN:FEM%22, null), 0);%0A    assertTrue(GermanHelper.hasReadingOfType(readings, GermanToken.POSType.DETERMINER));%0A    assertFalse(GermanHelper.hasReadingOfType(readings, GermanToken.POSType.NOMEN));%0A  %7D%0A  %0A%7D%0A

add test for GermanHelper