':func:`validate_signature_against_kwargs` raises an
``InvalidSignature`` exception if the function has no arguments but an
argument is passed in.'

def test_no_arguments_validation_failure(self):

    self.expectThat((lambda : validate_signature_against_kwargs(_no_arguments_function, set(['arg']))), _raises_invalid_signature(unexpected_arguments=set(['arg'])))
