This should bring code coverage to 100% for MutableBoolean

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

View File

@ -107,6 +107,7 @@ public void testEquals() {
public void testGetSet() {
final MutableBoolean mutBool = new MutableBoolean(false);
assertEquals(false, new MutableBoolean().booleanValue());
assertEquals(Boolean.FALSE, new MutableBoolean().getValue());
mutBool.setValue(Boolean.TRUE);
assertEquals(true, mutBool.booleanValue());