Skip to content

Commit

Permalink
testGetLandCH() added
Browse files Browse the repository at this point in the history
  • Loading branch information
oboehm committed Apr 12, 2017
1 parent a0338ba commit c35091b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/java/de/jfachwert/post/PLZTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,13 @@ public void testGetLand() {
assertEquals(new Locale("de", "DE"), stuttgart.getLand());
}

/**
* Test-Methode fuer {@link PLZ#getLand()}.
*/
@Test
public void testGetLandCH() {
PLZ vaduz = new PLZ("CH-9490");
assertEquals("CH", vaduz.getLand().getCountry());
}

}

0 comments on commit c35091b

Please sign in to comment.