@Test public void testGetLengths() throws Exception { Property delegate = mock(Property.class); PropertyFacade<Session> facade = getFacade(delegate); final long[] value = new long[0]; when(delegate.getLengths()).thenReturn(value); assertEquals("same lengths", value, facade.getLengths()); }
@Override public long[] getLengths() throws RepositoryException { return delegate.getLengths(); }
PropertyFacade extends ItemFacade<Property, S> implements Property { @Override public long[] getLengths() throws RepositoryException { return delegate.getLengths(); } }
PropertyFacade extends ItemFacade<Property, S> implements Property { @Override public long[] getLengths() throws RepositoryException { return delegate.getLengths(); } @SuppressWarnings("WeakerAccess")  PropertyFacade(final @NotNull Property delegate,
                          final @NotNull SessionFacade<S> session); }
PropertyFacade extends ItemFacade<Property, S> implements Property { @Override public long[] getLengths() throws RepositoryException { return delegate.getLengths(); } @SuppressWarnings("WeakerAccess")  PropertyFacade(final @NotNull Property delegate,
                          final @NotNull SessionFacade<S> session); @Override Value getValue(); @Override Value[] getValues(); @Override String getString(); @SuppressWarnings("deprecation") @Override InputStream getStream(); @Override Binary getBinary(); @Override long getLong(); @Override double getDouble(); @Override BigDecimal getDecimal(); @Override Calendar getDate(); @Override boolean getBoolean(); @Override Node getNode(); @Override Property getProperty(); @Override long getLength(); @Override long[] getLengths(); @Override PropertyDefinition getDefinition(); @Override int getType(); @Override boolean isMultiple(); @Override void setValue(Value value); @Override void setValue(Value[] values); @Override void setValue(String value); @Override void setValue(String[] values); @Override void setValue(InputStream value); @Override void setValue(Binary value); @Override void setValue(long value); @Override void setValue(double value); @Override void setValue(BigDecimal value); @Override void setValue(Calendar value); @Override void setValue(boolean value); @Override void setValue(Node value); }
PropertyFacade extends ItemFacade<Property, S> implements Property { @Override public long[] getLengths() throws RepositoryException { return delegate.getLengths(); } @SuppressWarnings("WeakerAccess")  PropertyFacade(final @NotNull Property delegate,
                          final @NotNull SessionFacade<S> session); @Override Value getValue(); @Override Value[] getValues(); @Override String getString(); @SuppressWarnings("deprecation") @Override InputStream getStream(); @Override Binary getBinary(); @Override long getLong(); @Override double getDouble(); @Override BigDecimal getDecimal(); @Override Calendar getDate(); @Override boolean getBoolean(); @Override Node getNode(); @Override Property getProperty(); @Override long getLength(); @Override long[] getLengths(); @Override PropertyDefinition getDefinition(); @Override int getType(); @Override boolean isMultiple(); @Override void setValue(Value value); @Override void setValue(Value[] values); @Override void setValue(String value); @Override void setValue(String[] values); @Override void setValue(InputStream value); @Override void setValue(Binary value); @Override void setValue(long value); @Override void setValue(double value); @Override void setValue(BigDecimal value); @Override void setValue(Calendar value); @Override void setValue(boolean value); @Override void setValue(Node value);  }