/** * @expectedException RuntimeException * @dataProvider getStrategyExceptionProvider * @param string $strategy */ public function testGetStrategyException($strategy) { $mutation = new Mutation(); $mutation->strategy = $strategy; $mutation->getStrategy(); }