<commit_before><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace ZendTest\ServiceManager;

use PHPUnit_Framework_TestCase as TestCase;

/**
 * @requires PHP 5.4
 * @group    Zend_ServiceManager
 */
class MutableCreationOptionsAwareTraitTest extends TestCase
{
    protected $stub;

    public function setUp()
    {
        $this->stub = $this->getObjectForTrait('\Zend\ServiceManager\MutableCreationOptionsAwareTrait');
    }

    public function tearDown()
    {
        unset($this->stub);
    }

    public function testCreationOptionsInitiallyIsArray()
    {
        $this->assertAttributeEquals(Array(), 'creationOptions', $this->stub);
    }

    public function testTraitProvidesSetter()
    {<commit_msg>* fixed @requires annotation<commit_after><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace ZendTest\ServiceManager;

use PHPUnit_Framework_TestCase as TestCase;

/**
 * @requires PHP 5.4.0
 * @group    Zend_ServiceManager
 */
class MutableCreationOptionsAwareTraitTest extends TestCase
{
    protected $stub;

    public function setUp()
    {
        $this->stub = $this->getObjectForTrait('\Zend\ServiceManager\MutableCreationOptionsAwareTrait');
    }

    public function tearDown()
    {
        unset($this->stub);
    }

    public function testCreationOptionsInitiallyIsArray()
    {
        $this->assertAttributeEquals(Array(), 'creationOptions', $this->stub);
    }

    public function testTraitProvidesSetter()
    {
{'fraction_non_alphanumeric': 0.1205244578920827, 'fraction_numerical': 0.011598587997982855, 'mean_word_length': 3.5819861431870668, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3229459', 'n_tokens_mistral': 619, 'n_tokens_neox': 586, 'n_words': 123}