public function testWriteNamespacedClassType() { $propertyMock = $this->getPropertyMock(); $propertyMock->expects($this->atLeastOnce())->method('getDocComment')->will($this->returnValue('/** * @var \\Flagbit\\TestClass */')); $this->assertStringEndsWith(": Flagbit.TestClass\n", $this->propertyWriter->writeElement($propertyMock)); }