/** * @expectedException \RuntimeException * * @dataProvider canvasProvider * * @param \Jaguar\Canvas $canvas */ public function testCallThorwRuntimeException(Canvas $canvas) { $canvas->noopeMethod(); }