'Test transform with a value.'

@pytest.mark.parametrize('val,    expected', [('foobar', 'foobar'), ('', None)])
def test_transform(self, basetype, val, expected):

    assert (basetype.transform(val) == expected)
