# Path: prestans/types/base.py
# class DataStructure(DataType):
#     """
#     Wrappers on Python types generally represented as structures e.g DateTime
# 
#     as_serializable methods signature for %DataStructure is different to that of DataCollection
#     it requires a value to be passed in, this is because the python type of structures is
#     difference to what gets serialized.
# 
#     E.g DateTime serializes itself as a ISO string
#     """
# 
#     def blueprint(self):
#         raise NotImplementedError
# 
#     def validate(self, value):
#         raise NotImplementedError
# 
#     def as_serializable(self, value):
#         raise NotImplementedError


import unittest
from prestans.types import DataStructure



class DataStructureUnitTest(unittest.TestCase):

    def test_blueprint(self):
        self.assertRaises(NotImplementedError, DataStructure().blueprint)

    def test_validate(self):
        self.assertRaises(NotImplementedError, DataStructure().validate, "data")

    def test_as_serializable(self):

# Path: prestans/types/base.py
# class DataStructure(DataType):
#     """
#     Wrappers on Python types generally represented as structures e.g DateTime
# 
#     as_serializable methods signature for %DataStructure is different to that of DataCollection
#     it requires a value to be passed in, this is because the python type of structures is
#     difference to what gets serialized.
# 
#     E.g DateTime serializes itself as a ISO string
#     """
# 
#     def blueprint(self):
#         raise NotImplementedError
# 
#     def validate(self, value):
#         raise NotImplementedError
# 
#     def as_serializable(self, value):
#         raise NotImplementedError


# Path: tests/types/test_data_structure.py
import unittest
from prestans.types import DataStructure




class DataStructureUnitTest(unittest.TestCase):

    def test_blueprint(self):
        self.assertRaises(NotImplementedError, DataStructure().blueprint)

    def test_validate(self):
        self.assertRaises(NotImplementedError, DataStructure().validate, "data")

    def test_as_serializable(self):

        self.assertRaises(NotImplementedError, DataStructure().as_serializable, "data")