setupEnv( $config, $data ); $parser = self::createParser( $data ); $threadItemSet = $parser->parse( $body, $title ); $isSigned = CommentUtils::isSingleCommentSignedBy( $threadItemSet, $username, $body ); self::assertEquals( $expected, $isSigned, $msg ); } public function provideIsSingleCommentSignedBy(): array { return self::getJson( '../cases/isSingleCommentSignedBy.json' ); } }