Ejemplo n.º 1
0
	/**
	 * @covers Bedrock::properties
	 *
	 * @return void
	 */
	public function testProperties() {
		// Setup
		$properties = $this->_object->properties();

		// Assertions
		$this->assertInstanceOf('Bedrock\\Common\\Config', $properties);
		$this->assertCount((4 + 1), $properties); // PHPUnit adds __phpunit_mockObjectId, so count ends up being +1

		foreach($this->_mockConfig as $key => $value) {
			$this->assertEquals($value, $properties[$key]);
		}
	}