'If the maximum size specified for filesystem creation is smaller than
the storage pool allows, ``MaximumSizeTooSmall`` is raised.'

def test_maximum_size_too_small(self):

    pool = build_pool(self)
    service = service_for_pool(self, pool)
    volume = service.get(MY_VOLUME, size=VolumeSize(maximum_size=10))
    creating = pool.create(volume)
    return self.assertFailure(creating, MaximumSizeTooSmall)
