@FixFor("MODE-1254") @Test public void shouldNotIncludeBinaryContentsInToString() throws Exception { altima = cache.findJcrNode(null, path("/Cars/Hybrid/Nissan Altima")); Node node = rootNode.addNode("nodeWithBinaryProperty", "nt:unstructured"); String value = "This is the string value"; Binary binaryValue = cache.session().getValueFactory().createBinary(new ByteArrayInputStream(value.getBytes())); node.setProperty("binProp", binaryValue); String toString = node.toString(); assertThat(toString.indexOf("**binary-value") > 0, is(true)); }