Bringing the code coverage to 100% :) Constructor wasn't being tested.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754610 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2009-03-15 03:41:15 +00:00
parent 8a51b94300
commit f4a99655f0
1 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,11 @@ public static Test suite() {
return suite; return suite;
} }
public void testConstructable() {
// enforce public constructor
new EnumUtils();
}
public void testGetEnumMap() { public void testGetEnumMap() {
try { try {
EnumUtils.getEnumMap(null); EnumUtils.getEnumMap(null);