/** * @test */ public function flashMessageServiceInitiallyIsEmpty() { $this->assertSame(array(), $this->flashMessageService->_get('flashMessageQueues')); }
/** * @test */ public function publicPropertyForAccessibleMockObjectIsDirectlyAccessible() { self::assertSame('This is a public property.', $this->accessibleMock->_get('publicProperty')); }
/** * @test */ public function appendContentAppendsContentCorrectly() { $this->mockResponse->_set('content', 'foo'); $this->mockResponse->appendContent('bar'); $this->assertSame('foobar', $this->mockResponse->_get('content')); }