import unittest
from lambda_tools import mapper


FAMOUS_FIVE = ['Dick', 'Julian', 'George', 'Anne', 'Timmy']

class StringFieldEntity:
    hello = mapper.StringField()


class TestStringField(unittest.TestCase):

    def test_simple_mapping(self):
        result = mapper.parse(StringFieldEntity, { 'hello': 'world' })
        self.assertEqual('world', result.hello)