ImboUnitTest\Image\Transformation\CompressTest::testThrowsExceptionOnInvalidLevel PHP Method

testThrowsExceptionOnInvalidLevel() public method

    public function testThrowsExceptionOnInvalidLevel()
    {
        $event = $this->getMock('Imbo\\EventManager\\Event');
        $event->expects($this->once())->method('getArgument')->with('params')->will($this->returnValue(['level' => 200]));
        $this->transformation->transform($event);
    }