def test_get_insurance_type_text(self):
     self.assertIsNone(
         DataHelper.get_insurance_type_text(
             InsuranceType.objects.get(pk=0),  # 不明
         ), )
     self.assertEqual(
         DataHelper.get_insurance_type_text(
             InsuranceType.objects.get(pk=2),  # オーナー指定
         ),
         '指定',
     )
     self.assertEqual(
         DataHelper.get_insurance_type_text(
             InsuranceType.objects.get(pk=4),  # 相談
         ),
         '相談',
     )
 def insurance_type_text(self):
     return DataHelper.get_insurance_type_text(self.insurance_type)