O:39:"phpDocumentor\Descriptor\FileDescriptor":21:{s:7:" * hash";s:32:"4cc18445671466e5c3bd03ac1f38831c";s:7:" * path";s:26:"tests/test-wp-redactor.php";s:9:" * source";s:6402:"<?php

class RedactorTest extends WP_UnitTestCase {

    public function testRedactWithNullContent() {
    	$r = new Redaction();
        $this->assertEquals("", $r->redact("one,two", "mr. redactor", "03/29/2016", null));
    }
    
    public function testRedactWithEmptyString() {
    	$r = new Redaction();
    	$this->assertEquals("", $r->redact("one, two", "redactor", "03/29/2016", ""));
    }
    
    public function testRedactWithWhitespaceString() {
    	$r = new Redaction();
    	$this->assertEquals("", $r->redact("one, two", "redactor", "03/29/2016", "\t\n   \n\r   \t "));
    }
    
    public function testRedactWithAdminUser() {
    	$user_id = $this->factory->user->create(array( 'role' => 'administrator' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='allowed' title='Redacted by david on 03/29/2016'>hello world</span>", $r->redact("one, two", "david", "03/29/2016", "hello world"));
    }
    
    public function testRedactWithEditorUser() {
    	$user_id = $this->factory->user->create(array( 'role' => 'editor' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='allowed' title='Redacted by david on 03/29/2016'>hello world</span>", $r->redact("one, two", "david", "03/29/2016", "hello world"));
    }
    
    public function testRedactWithNoAllowedRolesUser() {
    	$user_id = $this->factory->user->create(array( 'role' => 'subscriber' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='redacted' title='Redacted by david on 03/29/2016'>&#9608;&#9608;&#9608;&#9608;&#9608; &#9608;&#9608;&#9608;&#9608; &#9608;&#9608;&#9608;&#9608;&#9608;</span>", $r->redact("one, two", "david", "03/29/2016", "goodbye world123"));
    }
    
    public function testRedactWithNoAllowedRolesUserBecauseNoRedactRoles() {
    	$user_id = $this->factory->user->create(array( 'role' => 'subscriber' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='redacted' title='Redacted by david on 03/29/2016'>&#9608;&#9608;&#9608;&#9608;&#9608; &#9608;&#9608;&#9608;&#9608; &#9608;&#9608;&#9608;&#9608;&#9608;</span>", $r->redact("", "david", "03/29/2016", "goodbye world123"));
    }
    
    public function testRedactWithNoAllowedRolesUserBecauseRedactRolesIsNull() {
    	$user_id = $this->factory->user->create(array( 'role' => 'subscriber' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='redacted' title='Redacted by david on 03/29/2016'>&#9608;&#9608;&#9608;&#9608;&#9608; &#9608;&#9608;&#9608;&#9608; &#9608;&#9608;&#9608;&#9608;&#9608;</span>", $r->redact(null, "david", "03/29/2016", "goodbye world123"));
    }
    
    public function testRedactWithNoAllowedRolesUserAndNullRedactor() {
    	$user_id = $this->factory->user->create(array( 'role' => 'subscriber' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='redacted' title='Redacted by unknown on 03/29/2016'>&#9608;&#9608;&#9608;&#9608;&#9608; &#9608;&#9608;&#9608;&#9608; &#9608;&#9608;&#9608;&#9608;&#9608;</span>", $r->redact("one, two", null, "03/29/2016", "goodbye world123"));
    }
    
    public function testRedactWithNoAllowedRolesUserAndNullDate() {
    	$user_id = $this->factory->user->create(array( 'role' => 'subscriber' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='redacted' title='Redacted by david on unspecified date'>&#9608;&#9608;&#9608;&#9608;&#9608; &#9608;&#9608;&#9608;&#9608; &#9608;&#9608;&#9608;&#9608;&#9608;</span>", $r->redact("one, two", "david", null, "goodbye world123"));
    }
    
    public function testRedactWithAllowedRoleUserAndOneRedactRole() {
    	$user_id = $this->factory->user->create(array( 'role' => 'good' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='allowed' title='Redacted by david on 03/29/2016'>goodbye world123</span>", $r->redact("good", "david", "03/29/2016", "goodbye world123"));
    }
    
    public function testRedactWithAllowedRoleUserAndTwoRedactRolesStartWithGood() {
    	$user_id = $this->factory->user->create(array( 'role' => 'good' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='allowed' title='Redacted by david on 03/29/2016'>goodbye world123</span>", $r->redact("good, bad", "david", "03/29/2016", "goodbye world123"));
    }
    
    public function testRedactWithAllowedRoleUserAndTwoRedactRolesEndWithGood() {
    	$user_id = $this->factory->user->create(array( 'role' => 'good' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='allowed' title='Redacted by david on 03/29/2016'>goodbye world123</span>", $r->redact("bad, good", "david", "03/29/2016", "goodbye world123"));
    }
    
    public function testRedactWithAllowedRoleUserAndThreeRedactRolesStartWithGood() {
    	$user_id = $this->factory->user->create(array( 'role' => 'good' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='allowed' title='Redacted by david on 03/29/2016'>goodbye world123</span>", $r->redact("good, bad1, bad2", "david", "03/29/2016", "goodbye world123"));
    }
    
    public function testRedactWithAllowedRoleUserAndThreeRedactRolesEndWithGood() {
    	$user_id = $this->factory->user->create(array( 'role' => 'good' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='allowed' title='Redacted by david on 03/29/2016'>goodbye world123</span>", $r->redact("bad1, bad2, good", "david", "03/29/2016", "goodbye world123"));
    }
    
    public function testRedactWithAllowedRoleUserAndThreeRedactRolesGoodInBetween() {
    	$user_id = $this->factory->user->create(array( 'role' => 'good' ));
    	wp_set_current_user( $user_id );
    	$r = new Redaction();
    	$this->assertEquals("<span class='allowed' title='Redacted by david on 03/29/2016'>goodbye world123</span>", $r->redact("bad1, good, bad2", "david", "03/29/2016", "goodbye world123"));
    }
}";s:19:" * namespaceAliases";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:11:" * includes";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:12:" * constants";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:12:" * functions";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:10:" * classes";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:13:"\RedactorTest";O:40:"phpDocumentor\Descriptor\ClassDescriptor":18:{s:9:" * parent";s:16:"\WP_UnitTestCase";s:13:" * implements";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:11:" * abstract";b:0;s:8:" * final";b:0;s:12:" * constants";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:13:" * properties";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:10:" * methods";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:16:{s:25:"testRedactWithNullContent";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:42:"\RedactorTest::testRedactWithNullContent()";s:7:" * name";s:25:"testRedactWithNullContent";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:5;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:5;s:10:" * context";a:1:{i:0;s:27:"testRedactWithNullContent()";}}}}}s:25:"testRedactWithEmptyString";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:42:"\RedactorTest::testRedactWithEmptyString()";s:7:" * name";s:25:"testRedactWithEmptyString";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:10;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:10;s:10:" * context";a:1:{i:0;s:27:"testRedactWithEmptyString()";}}}}}s:30:"testRedactWithWhitespaceString";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:47:"\RedactorTest::testRedactWithWhitespaceString()";s:7:" * name";s:30:"testRedactWithWhitespaceString";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:15;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:15;s:10:" * context";a:1:{i:0;s:32:"testRedactWithWhitespaceString()";}}}}}s:23:"testRedactWithAdminUser";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:40:"\RedactorTest::testRedactWithAdminUser()";s:7:" * name";s:23:"testRedactWithAdminUser";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:20;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:20;s:10:" * context";a:1:{i:0;s:25:"testRedactWithAdminUser()";}}}}}s:24:"testRedactWithEditorUser";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:41:"\RedactorTest::testRedactWithEditorUser()";s:7:" * name";s:24:"testRedactWithEditorUser";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:27;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:27;s:10:" * context";a:1:{i:0;s:26:"testRedactWithEditorUser()";}}}}}s:32:"testRedactWithNoAllowedRolesUser";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:49:"\RedactorTest::testRedactWithNoAllowedRolesUser()";s:7:" * name";s:32:"testRedactWithNoAllowedRolesUser";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:34;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:34;s:10:" * context";a:1:{i:0;s:34:"testRedactWithNoAllowedRolesUser()";}}}}}s:52:"testRedactWithNoAllowedRolesUserBecauseNoRedactRoles";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:69:"\RedactorTest::testRedactWithNoAllowedRolesUserBecauseNoRedactRoles()";s:7:" * name";s:52:"testRedactWithNoAllowedRolesUserBecauseNoRedactRoles";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:41;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:41;s:10:" * context";a:1:{i:0;s:54:"testRedactWithNoAllowedRolesUserBecauseNoRedactRoles()";}}}}}s:56:"testRedactWithNoAllowedRolesUserBecauseRedactRolesIsNull";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:73:"\RedactorTest::testRedactWithNoAllowedRolesUserBecauseRedactRolesIsNull()";s:7:" * name";s:56:"testRedactWithNoAllowedRolesUserBecauseRedactRolesIsNull";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:48;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:48;s:10:" * context";a:1:{i:0;s:58:"testRedactWithNoAllowedRolesUserBecauseRedactRolesIsNull()";}}}}}s:47:"testRedactWithNoAllowedRolesUserAndNullRedactor";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:64:"\RedactorTest::testRedactWithNoAllowedRolesUserAndNullRedactor()";s:7:" * name";s:47:"testRedactWithNoAllowedRolesUserAndNullRedactor";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:55;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:55;s:10:" * context";a:1:{i:0;s:49:"testRedactWithNoAllowedRolesUserAndNullRedactor()";}}}}}s:43:"testRedactWithNoAllowedRolesUserAndNullDate";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:60:"\RedactorTest::testRedactWithNoAllowedRolesUserAndNullDate()";s:7:" * name";s:43:"testRedactWithNoAllowedRolesUserAndNullDate";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:62;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:62;s:10:" * context";a:1:{i:0;s:45:"testRedactWithNoAllowedRolesUserAndNullDate()";}}}}}s:45:"testRedactWithAllowedRoleUserAndOneRedactRole";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:62:"\RedactorTest::testRedactWithAllowedRoleUserAndOneRedactRole()";s:7:" * name";s:45:"testRedactWithAllowedRoleUserAndOneRedactRole";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:69;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:69;s:10:" * context";a:1:{i:0;s:47:"testRedactWithAllowedRoleUserAndOneRedactRole()";}}}}}s:59:"testRedactWithAllowedRoleUserAndTwoRedactRolesStartWithGood";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:76:"\RedactorTest::testRedactWithAllowedRoleUserAndTwoRedactRolesStartWithGood()";s:7:" * name";s:59:"testRedactWithAllowedRoleUserAndTwoRedactRolesStartWithGood";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:76;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:76;s:10:" * context";a:1:{i:0;s:61:"testRedactWithAllowedRoleUserAndTwoRedactRolesStartWithGood()";}}}}}s:57:"testRedactWithAllowedRoleUserAndTwoRedactRolesEndWithGood";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:74:"\RedactorTest::testRedactWithAllowedRoleUserAndTwoRedactRolesEndWithGood()";s:7:" * name";s:57:"testRedactWithAllowedRoleUserAndTwoRedactRolesEndWithGood";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:83;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:83;s:10:" * context";a:1:{i:0;s:59:"testRedactWithAllowedRoleUserAndTwoRedactRolesEndWithGood()";}}}}}s:61:"testRedactWithAllowedRoleUserAndThreeRedactRolesStartWithGood";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:78:"\RedactorTest::testRedactWithAllowedRoleUserAndThreeRedactRolesStartWithGood()";s:7:" * name";s:61:"testRedactWithAllowedRoleUserAndThreeRedactRolesStartWithGood";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:90;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:90;s:10:" * context";a:1:{i:0;s:63:"testRedactWithAllowedRoleUserAndThreeRedactRolesStartWithGood()";}}}}}s:59:"testRedactWithAllowedRoleUserAndThreeRedactRolesEndWithGood";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:76:"\RedactorTest::testRedactWithAllowedRoleUserAndThreeRedactRolesEndWithGood()";s:7:" * name";s:59:"testRedactWithAllowedRoleUserAndThreeRedactRolesEndWithGood";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:97;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:97;s:10:" * context";a:1:{i:0;s:61:"testRedactWithAllowedRoleUserAndThreeRedactRolesEndWithGood()";}}}}}s:61:"testRedactWithAllowedRoleUserAndThreeRedactRolesGoodInBetween";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:78:"\RedactorTest::testRedactWithAllowedRoleUserAndThreeRedactRolesGoodInBetween()";s:7:" * name";s:61:"testRedactWithAllowedRoleUserAndThreeRedactRolesGoodInBetween";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:104;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50008";s:7:" * line";i:104;s:10:" * context";a:1:{i:0;s:63:"testRedactWithAllowedRoleUserAndThreeRedactRolesGoodInBetween()";}}}}}}}s:13:" * usedTraits";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:13:"\RedactorTest";s:7:" * name";s:12:"RedactorTest";s:12:" * namespace";s:0:"";s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";r:1;s:7:" * line";i:3;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{s:7:"package";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:10:"subpackage";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50005";s:7:" * line";i:3;s:10:" * context";a:1:{i:0;s:13:"\RedactorTest";}}}}}}}s:13:" * interfaces";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * traits";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:10:" * markers";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:0:"";s:7:" * name";s:20:"test-wp-redactor.php";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{s:7:"package";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:10:"subpackage";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50000";s:7:" * line";i:0;s:10:" * context";a:1:{i:0;s:0:"";}}}}}