def METHOD_NAME(self, ansible_json_encoder, test_input):
    """
    Test for the default encoder of AnsibleJSONEncoder.default(), not serializable objects.
    It must fail with TypeError 'object is not serializable'.
    """
    with pytest.raises(TypeError):
        ansible_json_encoder.default(test_input)