def METHOD_NAME(self, reddit):
    reddit.read_only = False
    reddit.validate_on_submit = True
    subreddit = reddit.subreddit(pytest.placeholders.test_subreddit)
    submission = subreddit.submit(
        title="PRAW Test replace slot 1", selftext="Testing .pin method 1"
    )
    reddit.user.pin(submission, num=1)
    new_posts = list(reddit.user.me().new(limit=4))
    new_posts.reverse()
    assert new_posts[-1] == submission