public function it_should_resolve_comment(EditorialComment $comment, User $user) { $comment->getUser()->willReturn($user); $comment->setResolved(Argument::type('bool'))->willReturn(true); $this->resolve($comment, $user)->shouldReturn(true); }