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);  }
@Test public void testBegin() { Sardine sardine = FactModelGuvnorUploader.begin("a", "a"); assertNotNull(sardine); }