@Test public void testMadAidSize() throws Exception { MfClassicReaderWriter readerWriter = loadData(blankCard); ApplicationDirectory applicationDirectory = readerWriter.createApplicationDirectory(MAD_KEY_CONFIG); assertEquals(2, applicationDirectory.getVersion()); assertTrue(applicationDirectory.isFree(0)); assertTrue(applicationDirectory.isFree(applicationDirectory.getNumberOfSlots() - 1)); assertEquals(maxFreeSpace, applicationDirectory.getMaxContinousSize()); }
@Override public int getNumberOfSlots() { return 38; }
Mad2 extends Mad1 { @Override public int getNumberOfSlots() { return 38; } }
Mad2 extends Mad1 { @Override public int getNumberOfSlots() { return 38; } Mad2(MfClassicReaderWriter readerWriter, MadKeyConfig keyConfig);   Mad2(MfClassicReaderWriter readerWriter, MadKeyConfig keyConfig, TrailerBlock trailerBlock); }
Mad2 extends Mad1 { @Override public int getNumberOfSlots() { return 38; } Mad2(MfClassicReaderWriter readerWriter, MadKeyConfig keyConfig);   Mad2(MfClassicReaderWriter readerWriter, MadKeyConfig keyConfig, TrailerBlock trailerBlock); @Override void initMadTrailer(int madVersion); @Override void makeReadOnly(); @Override void readMad(); @Override void writeMad(); @Override int getNumberOfSlots(); }
Mad2 extends Mad1 { @Override public int getNumberOfSlots() { return 38; } Mad2(MfClassicReaderWriter readerWriter, MadKeyConfig keyConfig);   Mad2(MfClassicReaderWriter readerWriter, MadKeyConfig keyConfig, TrailerBlock trailerBlock); @Override void initMadTrailer(int madVersion); @Override void makeReadOnly(); @Override void readMad(); @Override void writeMad(); @Override int getNumberOfSlots();  }