### Question:
HarvesterData { @Column(nullable = false, length = 255) public String getValue() { return value; }  @Id HarvesterDataId getId(); void setId(HarvesterDataId id); @Column(nullable = false, length = 255) String getValue(); void setValue(ISODate value); void setValue(String value); @Transient int getValueAsInt(); @Transient long getValueAsLong(); void setValue(long value); @Transient boolean getValueAsBoolean(); void setValue(boolean value); @Transient ISODate getValueAsDate(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testGetValue() throws Exception { final HarvesterData data = new HarvesterData(); data.setValue(true); assertTrue(data.getValueAsBoolean()); data.setValue(false); assertFalse(data.getValueAsBoolean()); }