DDPB-1239: Additional null check found from tests
DDPB-1239: Additional null check found from tests


ministryofjustice/opg-digi-deps-api,ministryofjustice/opg-digi-deps-api,ministryofjustice/opg-digi-deps-api