def METHOD_NAME(self, pyramid_request, RSAKeyService, aes_service, db_session):
    rsa_key_service = factory(sentinel.context, pyramid_request)
    RSAKeyService.assert_called_once_with(db_session, aes_service)
    assert rsa_key_service == RSAKeyService.return_value