@Test public void setReporting() { ZclCluster cluster = Mockito.mock(ZclCluster.class); ZclAttribute attribute = new ZclAttribute(cluster, 123, "Test Name", ZclDataType.UNSIGNED_8_BIT_INTEGER, false, false, false, false); attribute.setReporting(1, 2); Mockito.verify(cluster, Mockito.times(1)).setReporting(123, 1, 2); attribute.setReporting(1, 2, 3); Mockito.verify(cluster, Mockito.times(1)).setReporting(123, 1, 2, 3); }
public Future<CommandResult> setReporting(final int minInterval, final int maxInterval, final Object reportableChange) { return cluster.setReporting(id, minInterval, maxInterval, reportableChange); }
ZclAttribute { public Future<CommandResult> setReporting(final int minInterval, final int maxInterval, final Object reportableChange) { return cluster.setReporting(id, minInterval, maxInterval, reportableChange); } }
ZclAttribute { public Future<CommandResult> setReporting(final int minInterval, final int maxInterval, final Object reportableChange) { return cluster.setReporting(id, minInterval, maxInterval, reportableChange); } ZclAttribute();  ZclAttribute(final ZclCluster cluster, final int id, final String name, final ZclDataType dataType,
            final boolean mandatory, final boolean readable, final boolean writable, final boolean reportable);  ZclAttribute(final ZclCluster cluster, final int id, final String name, final ZclDataType dataType,
            final boolean mandatory, final boolean readable, final boolean writable, final boolean reportable,
            final int manufacturerCode); }
ZclAttribute { public Future<CommandResult> setReporting(final int minInterval, final int maxInterval, final Object reportableChange) { return cluster.setReporting(id, minInterval, maxInterval, reportableChange); } ZclAttribute();  ZclAttribute(final ZclCluster cluster, final int id, final String name, final ZclDataType dataType,
            final boolean mandatory, final boolean readable, final boolean writable, final boolean reportable);  ZclAttribute(final ZclCluster cluster, final int id, final String name, final ZclDataType dataType,
            final boolean mandatory, final boolean readable, final boolean writable, final boolean reportable,
            final int manufacturerCode); Object readValue(long refreshPeriod); Future<CommandResult> writeValue(Object value); Future<CommandResult> reportValue(Object value); void setValue(Object value); ZclClusterType getCluster(); int getId(); boolean isMandatory(); boolean isImplemented(); boolean isReadable(); boolean isWritable(); boolean isReportable(); void setImplemented(boolean implemented); ZclDataType getDataType(); int getMinimumReportingPeriod(); int getMaximumReportingPeriod(); Object getReportingChange(); int getReportingTimeout(); boolean isManufacturerSpecific(); Integer getManufacturerCode(); Object getLastValue(); Calendar getLastReportTime(); Future<CommandResult> setReporting(final int minInterval, final int maxInterval,
            final Object reportableChange); Future<CommandResult> setReporting(final int minInterval, final int maxInterval); boolean isLastValueCurrent(long allowedAge); String getName(); void updateValue(Object attributeValue); @Override String toString(); void setDao(ZclCluster cluster, ZclAttributeDao dao); void setDynamicStateFromDao(ZclAttributeDao dao); ZclAttributeDao getDao(); }
ZclAttribute { public Future<CommandResult> setReporting(final int minInterval, final int maxInterval, final Object reportableChange) { return cluster.setReporting(id, minInterval, maxInterval, reportableChange); } ZclAttribute();  ZclAttribute(final ZclCluster cluster, final int id, final String name, final ZclDataType dataType,
            final boolean mandatory, final boolean readable, final boolean writable, final boolean reportable);  ZclAttribute(final ZclCluster cluster, final int id, final String name, final ZclDataType dataType,
            final boolean mandatory, final boolean readable, final boolean writable, final boolean reportable,
            final int manufacturerCode); Object readValue(long refreshPeriod); Future<CommandResult> writeValue(Object value); Future<CommandResult> reportValue(Object value); void setValue(Object value); ZclClusterType getCluster(); int getId(); boolean isMandatory(); boolean isImplemented(); boolean isReadable(); boolean isWritable(); boolean isReportable(); void setImplemented(boolean implemented); ZclDataType getDataType(); int getMinimumReportingPeriod(); int getMaximumReportingPeriod(); Object getReportingChange(); int getReportingTimeout(); boolean isManufacturerSpecific(); Integer getManufacturerCode(); Object getLastValue(); Calendar getLastReportTime(); Future<CommandResult> setReporting(final int minInterval, final int maxInterval,
            final Object reportableChange); Future<CommandResult> setReporting(final int minInterval, final int maxInterval); boolean isLastValueCurrent(long allowedAge); String getName(); void updateValue(Object attributeValue); @Override String toString(); void setDao(ZclCluster cluster, ZclAttributeDao dao); void setDynamicStateFromDao(ZclAttributeDao dao); ZclAttributeDao getDao();  }