public function testCreateWithTargetObjectType() { $object = new QualifiedGerman(); $result = $this->qualifiedGerman->create($object); $this->assertSame($object, $result); }
/** * @dataProvider creatingExceptionDataProvider */ public function testCreatingException($array, $exception) { $this->assertEqualsExceptions($exception, $this->object->create($array)); }