AwsInspector\Tests\Model\AbstractTest::magicCallThrowsExceptionIfMethodDoesntStartWithGet PHP Method

magicCallThrowsExceptionIfMethodDoesntStartWithGet() public method

    public function magicCallThrowsExceptionIfMethodDoesntStartWithGet()
    {
        $stub = $this->getMockForAbstractClass('\\AwsInspector\\Model\\AbstractResource', [[]]);
        try {
            $stub->blabla();
        } catch (\Exception $e) {
            $this->assertContains('Invalid method \'blabla\' (class: ', $e->getMessage());
        }
    }