APISonar


com.eviware.soapui.DefaultSoapUICore.log

> com > eviware > soapui > DefaultSoapUICore > log
com APIs eviware APIs soapui APIs DefaultSoapUICore APIs log APIs

Example 1
public void supportsGroovy2() throws Exception {
        DefaultSoapUICore soapUICore = new DefaultSoapUICore();
        DefaultSoapUICore.log = mock(Logger.class);
        SoapUI.setSoapUICore(soapUICore, true);
        GroovyScriptEngineFactory scriptEngineFactory = new GroovyScriptEngineFactory();
        SoapUIScriptEngine scriptEngine = scriptEngineFactory.createScriptEngine(ModelItemFactory.makeWsdlProject());
        // binary literals are new to Groovy 2
        scriptEngine.setScript("assert 0b10 == 2");
        scriptEngine.run();

    }