### Question:
StringValue implements Value { @Override public boolean asBoolean() { return Boolean.parseBoolean(value); } StringValue(String value); @Override double asDouble(); @Override float asFloat(); @Override long asLong(); @Override int asInt(); @Override short asShort(); @Override byte asByte(); @Override boolean asBoolean(); @Override byte[] asByteArray(); @Override String toString(); @Override String asString();  }### Answer:
@Test @Parameters(method = "params") public void testBooleanConvert(String value, boolean expected) throws Exception { assertEquals(expected, new StringValue(value).asBoolean()); }