@Test public void testBegin() { Sardine sardine = FactModelGuvnorUploader.begin("a", "a"); assertNotNull(sardine); }
static Sardine begin(String username, String password) { Sardine sardine = null; try { sardine = SardineFactory.begin(username, password); } catch (SardineException e) { LOGGER.error("ERROR: Connection couldn't be opened."); LOGGER.error(e.getMessage(), e); } return sardine; }
FactModelGuvnorUploader { static Sardine begin(String username, String password) { Sardine sardine = null; try { sardine = SardineFactory.begin(username, password); } catch (SardineException e) { LOGGER.error("ERROR: Connection couldn't be opened."); LOGGER.error(e.getMessage(), e); } return sardine; } }
FactModelGuvnorUploader { static Sardine begin(String username, String password) { Sardine sardine = null; try { sardine = SardineFactory.begin(username, password); } catch (SardineException e) { LOGGER.error("ERROR: Connection couldn't be opened."); LOGGER.error(e.getMessage(), e); } return sardine; }  }
FactModelGuvnorUploader { static Sardine begin(String username, String password) { Sardine sardine = null; try { sardine = SardineFactory.begin(username, password); } catch (SardineException e) { LOGGER.error("ERROR: Connection couldn't be opened."); LOGGER.error(e.getMessage(), e); } return sardine; }  static void main(String[] args); }
FactModelGuvnorUploader { static Sardine begin(String username, String password) { Sardine sardine = null; try { sardine = SardineFactory.begin(username, password); } catch (SardineException e) { LOGGER.error("ERROR: Connection couldn't be opened."); LOGGER.error(e.getMessage(), e); } return sardine; }  static void main(String[] args);  }