@Test public void shouldReturnValueIfNRisFalse() throws Exception { Reading reading = new Reading("145", false); assertThat(reading.getEffectiveValue(), is("145")); }
public String getEffectiveValue() { return (notRecorded == null || !notRecorded) ? value : null; }
Reading { public String getEffectiveValue() { return (notRecorded == null || !notRecorded) ? value : null; } }
Reading { public String getEffectiveValue() { return (notRecorded == null || !notRecorded) ? value : null; } Reading(String value, Boolean notRecorded); }
Reading { public String getEffectiveValue() { return (notRecorded == null || !notRecorded) ? value : null; } Reading(String value, Boolean notRecorded); String getEffectiveValue(); Integer parsePositiveInt(); Integer parseInt(); Float parseFloat(); }
Reading { public String getEffectiveValue() { return (notRecorded == null || !notRecorded) ? value : null; } Reading(String value, Boolean notRecorded); String getEffectiveValue(); Integer parsePositiveInt(); Integer parseInt(); Float parseFloat();  }