@Test
public void testMemoTextTooLong() {

    try {
        Memo.text("12345678901234567890123456789");
        fail();
    } catch (RuntimeException exception) {
        assertTrue(exception.getMessage().contains("text must be <= 28 bytes."));
    }
}