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

testThrowsExceptionOnMissingLevelParameter() public method

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