@Test
public void track2EquivalentTest() {

	EmvTrack2 track2 = TrackUtils.extractTrack2EquivalentData(BytesUtils.fromString("55 66 88 77 66 55 66 77 D1 50 62 01 69 28 07 65 90 00 0F"));
	Assertions.assertThat(track2).isNotNull();
	Assertions.assertThat(track2.getCardNumber()).isEqualTo("5566887766556677");
	SimpleDateFormat sdf = new SimpleDateFormat("MM/yyyy");
	Assertions.assertThat(sdf.format(track2.getExpireDate())).isEqualTo("06/2015");
	Assertions.assertThat(track2.getService()).isNotNull();
	Assertions.assertThat(track2.getService().getServiceCode1()).isEqualTo(ServiceCode1Enum.INTERNATIONNAL_ICC);
	Assertions.assertThat(track2.getService().getServiceCode1().getInterchange()).isNotNull();
	Assertions.assertThat(track2.getService().getServiceCode1().getTechnology()).isNotNull();
	Assertions.assertThat(track2.getService().getServiceCode2()).isEqualTo(ServiceCode2Enum.NORMAL);
	Assertions.assertThat(track2.getService().getServiceCode2().getAuthorizationProcessing()).isNotNull();
	Assertions.assertThat(track2.getService().getServiceCode3()).isEqualTo(ServiceCode3Enum.NO_RESTRICTION);
	Assertions.assertThat(track2.getService().getServiceCode3().getAllowedServices()).isNotNull();
	Assertions.assertThat(track2.getService().getServiceCode3().getPinRequirements()).isNotNull();
}