### Question:
IMADeviceState extends DeviceState { public final void setBootcycleId(final String bootcycleId) { this.bootcycleId = bootcycleId; } IMADeviceState(final Device device); protected  IMADeviceState(); final Long getId(); final void resetState(); final Device getDevice(); final String getBootcycleId(); final void setBootcycleId(final String bootcycleId); final int getIndex(); final void setIndex(final int index); final Date getMostRecentFullReportDate(); final void setMostRecentFullReportDate(final Date date); @Override Criterion getDeviceTrustAlertCriterion(); final byte[] getPcrState(); final void setPcrState(final byte[] pcrState); @Override final int hashCode(); @Override final boolean equals(final Object obj); @Override final String toString();  }### Answer:
@Test public void testSetBootcycleId() { final Device device = new Device("Test Device"); final IMADeviceState state = new IMADeviceState(device); final String bootcycleId = "Mon Apr 20 09:32"; Assert.assertNotEquals(state.getBootcycleId(), bootcycleId); state.setBootcycleId(bootcycleId); Assert.assertEquals(state.getBootcycleId(), bootcycleId); }