public class TagInputStreamTest {
@Test
public void testAvailable() throws Exception {
InMemoryTag tag = new InMemoryTag(FileMfUlReader.loadCardFromFile("mful_formatted.txt"));
MfUlReaderWriter readerWriter = new AcrMfUlReaderWriter(tag);
TagInputStream in = new TagInputStream(MemoryLayout.ULTRALIGHT, readerWriter);
for (int x = 0; x < 48; x++) {
assertEquals(48 - x, in.available());