diff --git a/src/test/java/htmlverification/tests/AbandonedTest.java b/src/test/java/htmlverification/tests/AbandonedTest.java
index 4405c2f8..32b3b116 100644
--- a/src/test/java/htmlverification/tests/AbandonedTest.java
+++ b/src/test/java/htmlverification/tests/AbandonedTest.java
@@ -12,6 +12,9 @@ public abstract class AbandonedTest {
protected String DYNAMIC_TITLE_SECTION;
protected String REGULATION_TEXT;
protected String VEHICLE_TYPE_TEXT_LINE;
+ protected String FORM_NUMBER;
+ protected String SECTION_REF_TEXT;
+
protected HtmlGenerator htmlGenerator;
protected AbandonedCertificate testCertificate;
@@ -22,6 +25,8 @@ public void verifyValuesSetByConstructor() {
assertEquals(REGULATION_TEXT, testCertificate.getRegulationText());
assertEquals(VEHICLE_TYPE_TEXT_LINE, testCertificate.getVehicleTypeText());
assertEquals(DYNAMIC_TITLE_SECTION, testCertificate.getTitleTextIncludingRollingHeaders());
+ assertEquals(FORM_NUMBER, testCertificate.getFormNumber());
+ assertEquals(SECTION_REF_TEXT, testCertificate.getSectionTextRef());
}
@Test
diff --git a/src/test/java/htmlverification/tests/VTG12Test.java b/src/test/java/htmlverification/tests/VTG12Test.java
index c4aaa029..ce7fee80 100644
--- a/src/test/java/htmlverification/tests/VTG12Test.java
+++ b/src/test/java/htmlverification/tests/VTG12Test.java
@@ -13,6 +13,8 @@ public VTG12Test() {
super.DYNAMIC_TITLE_SECTION = "Goods Vehicle for Examination";
super.REGULATION_TEXT = "Regulations 7 and 8 of the Goods Vehicles (Plating and Testing) Regulations 1988 as Amended";
super.VEHICLE_TYPE_TEXT_LINE = "In respect of the goods vehicle with registration number / chassis serial number / trailer identification mark :";
+ super.FORM_NUMBER = "0440";
+ super.SECTION_REF_TEXT = "49 and 51";
this.htmlGenerator = new HtmlGenerator(new Handlebars());
}
diff --git a/src/test/java/htmlverification/tests/VTP12Test.java b/src/test/java/htmlverification/tests/VTP12Test.java
index 1548beb9..b8eb9c91 100644
--- a/src/test/java/htmlverification/tests/VTP12Test.java
+++ b/src/test/java/htmlverification/tests/VTP12Test.java
@@ -13,6 +13,8 @@ public VTP12Test() {
super.DYNAMIC_TITLE_SECTION = "Public Service Vehicle for Examination";
super.REGULATION_TEXT = "Regulation 13 of the Motor Vehicles (Tests) Regulations 1981 as amended";
super.VEHICLE_TYPE_TEXT_LINE = "In respect of the public service vehicle with registration number / chassis serial number :";
+ super.FORM_NUMBER = "0453";
+ super.SECTION_REF_TEXT = "45";
this.htmlGenerator = new HtmlGenerator(new Handlebars());
}