public function testInvalidConfigImageParsing() { $container = new Container(['Image' => 'postgres']); $this->setExpectedException('\\Docker\\Exception\\InvalidRepoTagException', 'Invalid repoTag: postgres'); $image = $container->getImage(); }