@Test public void bool() { Definitions d = newDefinitions(); new Sample( d, "xsdtypes.Bool", ProtoMessage.Bool.newBuilder().setValue(true).build().toByteArray(), ".value", "true") .check(); }
private ProtoMessage.Bool toBool(boolean yesno) { return ProtoMessage.Bool.newBuilder().setValue(yesno).build(); }