new_contents: #!/usr/bin/env python
  """
  :Author Patrik Valkovic
  :Created 23.06.2017 16:39
  :Licence GNUv3
  Part of grammpy
  
  """
  from unittest import TestCase
  from grammpy import Terminal
  
  
  class TempClass:
      pass
  
  
  class TerminalCreationTest(TestCase):
      def test_createWithSymbol(self):
          ter = Terminal('a', None)
          self.assertEqual('a', ter.symbol(), 'Terminal should return same symbol')
  
      def test_createWithNumber(self):
          ter = Terminal(5, None)
          self.assertEqual(5, ter.symbol(), 'Terminal should return same number')
  
      def test_createWithClass(self):
          ter = Terminal(TempClass, None)
          self.assertEqual(TempClass, ter.symbol(), 'Terminal should return same class')
  
      def test_createWithInstance(self):
          inst = TempClass()
          ter = Terminal(inst, None)
          self.assertEqual(inst, ter.symbol(), 'Terminal should return same instance')
  
subject: Add creation tests for Terminal