@Test
public void testCase2() throws CAPDUParserException {

	byte[] capdu = Hex.decode("20110101FF");
	CAPDU expected = new CAPDU(0x20, 0x11, 0x01, 0x01, 0xFF);
	CAPDU actual = CAPDUParser.parse(capdu);
	Assert.assertEquals(expected, actual);
	Assert.assertFalse(actual.isCase1());
	Assert.assertTrue(actual.isCase2());
	Assert.assertFalse(actual.isCase3());
	Assert.assertFalse(actual.isCase4());
	Assert.assertEquals(expected.getCla(), actual.getCla());
	Assert.assertEquals(expected.getIns(), actual.getIns());
	Assert.assertEquals(expected.getP1(), actual.getP1());
	Assert.assertEquals(expected.getP2(), actual.getP2());
	Assert.assertArrayEquals(expected.getData(), actual.getData());
	Assert.assertArrayEquals(expected.getLe(), actual.getLe());
}