Index: beanutils/src/test/org/apache/commons/beanutils/BeanUtilsTestCase.java
===================================================================
RCS file: /home/cvspublic/jakarta-commons/beanutils/src/test/org/apache/commons/beanutils/BeanUtilsTestCase.java,v
retrieving revision 1.9
diff -u -r1.9 BeanUtilsTestCase.java
--- beanutils/src/test/org/apache/commons/beanutils/BeanUtilsTestCase.java	27 Apr 2002 23:11:23 -0000	1.9
+++ beanutils/src/test/org/apache/commons/beanutils/BeanUtilsTestCase.java	19 May 2002 10:57:29 -0000
@@ -472,10 +472,11 @@
             map.put("doubleProperty", "432.0");
             // floatProperty is left at 123.0
             map.put("intProperty", "543");
-            // longProperty is left at 321
+            map.put("longProperty", null);
             map.put("shortProperty", "654");
             // stringProperty is left at "This is a string"
             map.put("writeOnlyProperty", "New writeOnlyProperty value");
+            map.put("readOnlyProperty", "New readOnlyProperty value");
 
             BeanUtils.populate(bean, map);
 
@@ -489,8 +490,8 @@
                          (float) 0.005);
             assertEquals("intProperty is 543",
                          543, bean.getIntProperty());
-            assertEquals("longProperty is 321",
-                         (long) 321, bean.getLongProperty());
+            assertEquals("longProperty is 0",
+                         (long) 0, bean.getLongProperty());
             assertEquals("shortProperty is 654",
                          (short) 654, bean.getShortProperty());
             assertEquals("stringProperty is \"This is a string\"",
@@ -498,6 +499,9 @@
             assertEquals("writeOnlyProperty is \"New writeOnlyProperty value\"",
                          "New writeOnlyProperty value",
                          bean.getWriteOnlyPropertyValue());
+            assertEquals("readOnlyProperty is \"Read Only String Property\"",
+                         "Read Only String Property",
+                         bean.getReadOnlyProperty());
 
         } catch (IllegalAccessException e) {
             fail("IllegalAccessException");
