@@ -0,0 +1,1855 @@
+package org.epctagcoder.parse.SGTIN;%0A%0Aimport org.epctagcoder.exception.EPCParseException;%0Aimport org.epctagcoder.result.SGTIN;%0Aimport org.junit.Test;%0A%0Aimport static org.epctagcoder.parse.SGTIN.ParseSGTIN.Builder;%0Aimport static org.junit.Assert.*;%0A%0Apublic class TestParseSGTINWithRfidTag %7B%0A    %0A    @Test%0A    public void whenRfidTagIsNotGS1_thenParseExceptionIsRaised() %7B%0A        assertThrows(EPCParseException.class, () -%3E Builder().withRFIDTag(%22F45349FB11DF49FA935AB6FF%22).build());%0A    %7D%0A    %0A    @Test%0A    public void whenPartitionIsWrong_thenParseExceptionIsRaised() %7B%0A        assertThrows(EPCParseException.class, () -%3E Builder().withRFIDTag(%22303C83F1B7DD441678901234%22).build());%0A    %7D%0A    %0A    @Test%0A    public void parseEpcSerialTest() throws EPCParseException %7B%0A        SGTIN sgtin = Builder().withRFIDTag(%223024698E2CB1005678901234%22).build().getSGTIN();%0A    %0A        assertEquals(%2296511988276%22, sgtin.getSerial());%0A    %7D%0A    %0A    @Test%0A    public void parseEpcEanTest() throws EPCParseException %7B%0A        SGTIN sgtin = Builder().withRFIDTag(%223024698E2CB1005678901234%22).build().getSGTIN();%0A    %0A        assertEquals(%22141674018641%22, sgtin.getCompanyPrefix() + sgtin.getItemReference());%0A    %7D%0A    %0A    @Test%0A    public void parseEpcFilterTest() throws EPCParseException %7B%0A        SGTIN sgtin = Builder().withRFIDTag(%223024698E2CB1005678901234%22).build().getSGTIN();%0A        %0A        assertEquals(%221%22, sgtin.getFilterValue());%0A    %7D%0A    %0A    @Test%0A    public void parseEpcPartitionTest() throws EPCParseException %7B%0A        SGTIN sgtin = Builder().withRFIDTag(%2230285471BD5A0A5678901234%22).build().getSGTIN();%0A        %0A        assertEquals(%222%22, sgtin.getPartitionValue());%0A    %7D%0A    %0A    @Test%0A    public void parseNonHexEpc() %7B%0A        assertThrows(IllegalArgumentException.class, () -%3E Builder().withRFIDTag(%2230285471BD5A0A56789G1234%22).build());%0A    %7D%0A%7D%0A

Add test for SGTIN rfid tag parsing