public function testGetLoader() { $loader = $this->factory->getLoader('de_DE'); $this->assertInstanceOf('\\Nelmio\\Alice\\Fixtures\\Loader', $loader); }
/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage Unknown loader type 'foo'. */ public function testException() { $this->factory->getLoader('foo', 'bar'); }