Logger { public static synchronized Logger getInstance() { if (logger == null) { logger = new Logger(); } return logger; } private  Logger(); static synchronized Logger getInstance(); static void log(String TAG, LogLevel logLevel, String logMessage); static final boolean DEBUG; }
@Test public void canCreateLoggerInstance(){ Logger logger = Logger.getInstance(); assertNotNull(logger); }