spec\Newscoop\Services\ThemesServiceSpec::it_should_throw_exception_when_name_param_is_empty_or_null PHP Метод

it_should_throw_exception_when_name_param_is_empty_or_null() публичный Метод

    public function it_should_throw_exception_when_name_param_is_empty_or_null()
    {
        $this->shouldThrow('Exception')->during('findByName', array(null));
        $this->shouldThrow('Exception')->during('findByName', array(''));
    }