File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/test/java/uk/gov/companieshouse/pscdataapi/transform Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -280,6 +280,18 @@ void testEmptyPscIndividualTransform() {
280280 Assertions .assertNotNull (individual );
281281 }
282282
283+ @ Test
284+ void testPscDocumentWithIdentityVerificationDetailsIndividualTransform () {
285+ // Given
286+ PscDocument pscDocument = TestHelper .buildPscDocument ("individual" );
287+ // When
288+ Individual individual = pscTransformer
289+ .transformPscDocToIndividual (pscDocument , SHOW_FULL_DOB_TRUE );
290+ // Then
291+ Assertions .assertNotNull (individual );
292+ Assertions .assertNotNull (individual .getIdentityVerificationDetails ());
293+ }
294+
283295 @ Test
284296 void testEmptyPscIndividualBeneficialOwnerTransform () {
285297 IndividualBeneficialOwner individualBeneficialOwner = pscTransformer
You can’t perform that action at this time.
0 commit comments