def test_init_raises_alphabet_value_error(self):
        """Test for expected occurence of AlphabetValueError.

        The constructor is expected to raise AlphabetValueError if
        the alphabet passed to it allows for generating aliases that
        would be converted to integers larger than max int32.
        """
        alias_factory_mock = MagicMock()
        alias_factory_mock.alphabet.__len__.return_value = 32
        alias_factory_mock.max_new_alias_length = 10

        self.assertRaises(AlphabetValueError, IntegerAlias, alias_factory_mock)