fix failing test

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785299 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/sling/models/it/exporter/ExporterTest.java b/src/main/java/org/apache/sling/models/it/exporter/ExporterTest.java
index 0a5d05a..0e22b3b 100644
--- a/src/main/java/org/apache/sling/models/it/exporter/ExporterTest.java
+++ b/src/main/java/org/apache/sling/models/it/exporter/ExporterTest.java
@@ -153,7 +153,7 @@
             Assert.assertTrue(resource.getBoolean("sampleBooleanValue"));
             Assert.assertEquals(1, resource.getLong("sampleLongValue"));
             Assert.assertEquals(3, resource.getLong(":sampleBinary"));
-            Assert.assertEquals(0, resource.getJSONArray("sampleEmptyArray"));
+            Assert.assertEquals(0, resource.getJSONArray("sampleEmptyArray").length());
 
             final Resource extendedComponentResource = resolver.getResource(extendedComponentPath);
             Assert.assertNotNull(extendedComponentResource);