anchela commented on code in PR #31:
URL: 
https://github.com/apache/sling-org-apache-sling-jcr-resource/pull/31#discussion_r925421638


##########
src/test/java/org/apache/sling/jcr/resource/internal/helper/JcrPropertyMapCacheEntryTest.java:
##########
@@ -119,6 +127,39 @@ public void testCharArray() throws Exception {
         verifyZeroInteractions(node);
     }
     
+    @Test
+    public void testCannotStore() throws Exception {
+        Object value = new TestClass();
+        try {
+            new JcrPropertyMapCacheEntry(value, node);
+            fail("IllegalArgumentException expected");
+        } catch (IllegalArgumentException e) {

Review Comment:
   ma certo....
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to