@Test
void parseSimple() {

    Term term = SUT.parse(IOUtils.toInputStream("payload.lengthInBytes+4", Charset.defaultCharset()));
    assertThat(term, not(nullValue()));
    assertThat(term, instanceOf(BinaryTerm.class));
    BinaryTerm binaryTerm = (BinaryTerm) term;
    assertVariableLiteral(
        binaryTerm.getA(),
        "payload",
        null,
        lengthInBytesVariableLiteral -> assertVariableLiteral(
            lengthInBytesVariableLiteral,
            "lengthInBytes"
        )
    );
    assertNumericLiteral(binaryTerm.getB(), 4L);
    assertThat(binaryTerm.getOperation(), is("+"));
}