docstr: The objective of the test is to check that if no value is assigned to the attribute, the validation is returning
  the expect default value as defined in the Field class
docstr_tok: ["The","objective","of","the","test","is","to","check","that","if","no","value","is","assigned","to","the","attribute",",","the","validation","is","returning","the","expect","default","value","as","defined","in","the","Field","class"]
code: def test_none_value(self):
      """
      The objective of the test is to check that if no value is assigned to the attribute, the validation is returning
      the expect default value as defined in the Field class
      """
  
      class Example(Record):
          a = Null()
          b = Boolean()
          c = Integer()
          d = Long()
          e = Float()
          f = Double()
          g = Bytes()
          h = String()
  
      r = Example()
  
      self.assertIsNone(r.a)
      self.assertFalse(r.b)
      self.assertIsNone(r.c)
      self.assertIsNone(r.d)
      self.assertIsNone(r.e)
      self.assertIsNone(r.f)
      self.assertIsNone(r.g)
      self.assertIsNone(r.h)
  
imports: import math
  import logging
  import requests
  from typing import List
  from unittest import TestCase, main
  import fastavro
  import pulsar
  from pulsar.schema import *
  from enum import Enum
  import json
  from fastavro.schema import load_schema
label_desc: Use image node_id 16 for calling the SchemaTest obj's underlying member method code with example usage: obj.test_none_value() without return types