public function testStaticCallWithoutContainer() { $this->setExpectedException(DomainException::class, 'The first argument must be of type Interop\\Container\\ContainerInterface'); StubFactory::orm_other(); }