public function testEntityCustomClassInvalidType() { $e = $this->operation->entity('Foo', [], ['className' => Operation::class]); }