Пример #1
0
 public function testCreateWithTargetObjectType()
 {
     $object = new QualifiedGerman();
     $result = $this->qualifiedGerman->create($object);
     $this->assertSame($object, $result);
 }
Пример #2
0
 /**
  * @dataProvider creatingExceptionDataProvider
  */
 public function testCreatingException($array, $exception)
 {
     $this->assertEqualsExceptions($exception, $this->object->create($array));
 }