コード例 #1
0
ファイル: FluentDriverTest.php プロジェクト: guiwoda/fluent
 public function test_the_given_mapping_class_should_implement_mapping()
 {
     $this->setExpectedException(\InvalidArgumentException::class, 'Mapping class [Tests\\Stubs\\Entities\\StubEntity] should implement LaravelDoctrine\\Fluent\\Mapping');
     $driver = new FluentDriver();
     $driver->addMappings([StubEntity::class]);
 }