public function testValidate()
 {
     $service = new ValidationService();
     $object = new AnnotationTestClass();
     $context = $service->validate($object);
     $expected = array('AnnotationTestClass.publicField' => array('Value must be null!'));
     $this->assertEquals($expected, $context->getMessages());
     $context = $service->validate($object, array('protected'));
     $expected = array('AnnotationTestClass.privateField' => array('Value must not be null!'), 'AnnotationTestClass.protectedField' => array('Value must not be null!'), 'AnnotationTestClass.publicField' => array('Value must be null!'));
     $this->assertEquals($expected, $context->getMessages());
 }