public function setUp()
 {
     parent::setUp();
     $this->_annotatedClass = $this->getAnnotatedClass();
     $className = get_class($this->_annotatedClass);
     $this->_classMetadata = new ClassMetadata($className);
 }
 public function setUp()
 {
     parent::setUp();
     $this->_annotatedClass = $this->getAnnotatedClass();
     $className = get_class($this->_annotatedClass);
     $reflectionClass = new ReflectionClass($this->_annotatedClass);
     $this->_method = 'getName';
     $this->_methodMetadata = new MethodMetadata($className, $this->_method);
 }
 public function setUp()
 {
     parent::setUp();
     $annotatedClass = $this->getAnnotatedClass();
     $reflectionClass = new ReflectionClass($annotatedClass);
     $properties = $reflectionClass->getProperties();
     $property = $properties[0];
     $this->_abstractMemberMetadata = $this->getMockForAbstractClass('Ukala\\Mapping\\AbstractMemberMetadata', array('className' => get_class($annotatedClass), 'name' => $property->getName(), 'property' => $property->getName()));
 }
 public function setUp()
 {
     parent::setUp();
     $this->_annotatedClass = $this->getAnnotatedClass();
     $className = get_class($this->_annotatedClass);
     $reflectionClass = new ReflectionClass($this->_annotatedClass);
     $properties = $reflectionClass->getProperties();
     $this->_property = $properties[0];
     $this->_propertyMetadata = new PropertyMetadata($className, $this->_property->getName());
 }
 public function setUp()
 {
     parent::setUp();
     $this->_filter = new StringToArray();
 }
 public function setUp()
 {
     parent::setUp();
     $this->_writer = new ConsultingWriter($this->getStandardClassMetadataFactory());
 }
 public function setUp()
 {
     parent::setUp();
     $this->_filter = new ObjectFilter($this->getStandardClassMetadataFactory());
     $this->_annotatedCLass = $this->getAnnotatedClass();
 }
 public function setUp()
 {
     parent::setUp();
     $this->_abstractMetadata = $this->getMockForAbstractClass('Ukala\\Mapping\\AbstractMetadata');
 }
Exemple #9
0
 public function setUp()
 {
     parent::setUp();
     $this->_standard = new Standard($this->getLoader());
 }
Exemple #10
0
 public function setUp()
 {
     parent::setUp();
     $this->_filter = new ArrayWalker();
 }
Exemple #11
0
 public function setUp()
 {
     parent::setUp();
     $this->_element = $this->getElementByOptions(array());
 }
 public function setUp()
 {
     parent::setUp();
     $this->_validator = new ObjectValidator($this->getStandardClassMetadataFactory());
 }
Exemple #13
0
 public function setUp()
 {
     parent::setUp();
     $this->_validator = new ArrayWalker();
 }