@Test public void testGetScriptInfo() throws Throwable { BSHLogListener bSHLogListener = new BSHLogListener(); BSHLogListener.ScriptInfo result = bSHLogListener.getScriptInfo("testBSHLogListenerFilename"); assertNull(result, "result"); assertEquals(0, bSHLogListener.scripts.size(), "bSHLogListener.scripts.size()"); }
protected ScriptInfo getScriptInfo(String filename){ Objects.requireNonNull(filename, "The script file name cannot be null"); return scripts.get(filename); }
BSHLogListener implements org.jpos.util.LogListener, org.jpos.core.Configurable { protected ScriptInfo getScriptInfo(String filename){ Objects.requireNonNull(filename, "The script file name cannot be null"); return scripts.get(filename); } }
BSHLogListener implements org.jpos.util.LogListener, org.jpos.core.Configurable { protected ScriptInfo getScriptInfo(String filename){ Objects.requireNonNull(filename, "The script file name cannot be null"); return scripts.get(filename); } BSHLogListener(); }
BSHLogListener implements org.jpos.util.LogListener, org.jpos.core.Configurable { protected ScriptInfo getScriptInfo(String filename){ Objects.requireNonNull(filename, "The script file name cannot be null"); return scripts.get(filename); } BSHLogListener(); @Override void setConfiguration(org.jpos.core.Configuration cfg); @Override LogEvent log(LogEvent ev); }
BSHLogListener implements org.jpos.util.LogListener, org.jpos.core.Configurable { protected ScriptInfo getScriptInfo(String filename){ Objects.requireNonNull(filename, "The script file name cannot be null"); return scripts.get(filename); } BSHLogListener(); @Override void setConfiguration(org.jpos.core.Configuration cfg); @Override LogEvent log(LogEvent ev);  }