@Test public void shouldWriteNullAsMyFalse(){ assertEquals("myFalse", toTest.write(null)); }
public String write(Boolean value) { return Boolean.TRUE.equals(value) ? trueVal : falseVal; }
BooleanMatcher implements Transform<Boolean> { public String write(Boolean value) { return Boolean.TRUE.equals(value) ? trueVal : falseVal; } }
BooleanMatcher implements Transform<Boolean> { public String write(Boolean value) { return Boolean.TRUE.equals(value) ? trueVal : falseVal; } BooleanMatcher(String trueVal, String falseVal); }
BooleanMatcher implements Transform<Boolean> { public String write(Boolean value) { return Boolean.TRUE.equals(value) ? trueVal : falseVal; } BooleanMatcher(String trueVal, String falseVal); Boolean read(String value); String write(Boolean value); }
BooleanMatcher implements Transform<Boolean> { public String write(Boolean value) { return Boolean.TRUE.equals(value) ? trueVal : falseVal; } BooleanMatcher(String trueVal, String falseVal); Boolean read(String value); String write(Boolean value);  }