'The created map class name is based on the types of items in the map.'

@given(PYRSISTENT_STRUCT)
def test_name(self, klass):

    class Something(object, ):
        pass
    class Another(object, ):
        pass
    class Record(klass, ):
        value = pmap_field(Something, Another)
        value2 = pmap_field(int, float)
    assert ((Record().value.__class__.__name__, Record().value2.__class__.__name__) == ('SomethingAnotherPMap', 'IntFloatPMap'))
