|
|
@@ -15,6 +15,7 @@ import org.springframework.ui.Model;
|
|
|
import org.springframework.validation.BindingResult;
|
|
|
import scot.carricksoftware.grants.commands.certificates.birthcertificates.BirthCertificateCommand;
|
|
|
import scot.carricksoftware.grants.commands.certificates.birthcertificates.BirthCertificateCommandImpl;
|
|
|
+import scot.carricksoftware.grants.converters.Capitalisation;
|
|
|
import scot.carricksoftware.grants.converters.certificates.birthcertificates.BirthCertificateCommandConverterImpl;
|
|
|
import scot.carricksoftware.grants.converters.certificates.birthcertificates.BirthCertificateConverterImpl;
|
|
|
import scot.carricksoftware.grants.services.certificates.birthcertificates.BirthCertificateService;
|
|
|
@@ -51,6 +52,9 @@ public class BirthCertificateFormControllerValidationTest {
|
|
|
@Mock
|
|
|
private OrganisationService organisationServiceMock;
|
|
|
|
|
|
+ @Mock
|
|
|
+ private Capitalisation capitalisationMock;
|
|
|
+
|
|
|
@Mock
|
|
|
private BirthCertificateCommandValidatorImpl birthCertificateCommandValidatorImplMock;
|
|
|
|
|
|
@@ -65,7 +69,8 @@ public class BirthCertificateFormControllerValidationTest {
|
|
|
birthCertificateConverterMock,
|
|
|
birthCertificateCommandValidatorImplMock,
|
|
|
personServiceMock,
|
|
|
- organisationServiceMock);
|
|
|
+ organisationServiceMock,
|
|
|
+ capitalisationMock);
|
|
|
}
|
|
|
|
|
|
|