@Test
public void testEncode2() throws Exception {
SmartPosterRecord smartPosterRecord = new SmartPosterRecord();
smartPosterRecord.setTitle(new TextRecord("Title", Charset.forName("UTF8"), Locale.GERMANY));
smartPosterRecord.setUri(new UriRecord("http://www.winfuture.de"));
smartPosterRecord.setAction(new ActionRecord(Action.DEFAULT_ACTION));
byte[] payload = messageEncoder.encodeSingle(smartPosterRecord);
assertEquals(SmartPosterDecoderTest.smartPoster, NfcUtils.convertBinToASCII(payload));
}