mil.dod.th.ose.logging/test/mil/dod/th/ose/logging/TestLoggingService.java
@Test
    public void testLogInfo()
    {
        // replay
        m_SUT.info("hello");
        
        // verify
        verify(m_LogService).log(LogService.LOG_INFO, "hello");
        
        // replay
        m_SUT.info("hello %s what is up %d", "some", 4);
        
        // verify
        verify(m_LogService).log(LogService.LOG_INFO, "hello some what is up 4");
    }
/**
     * Verify calling the info method will call on log service with the info log level.
     */
Verify calling the info method will call on log service with the info log level.
Verify calling the info method will call on log service with the info log level .
@Test
    public void testLogInfo()
    {
        m_SUT.info("hello");
        verify(m_LogService).log(LogService.LOG_INFO, "hello");
        m_SUT.info("hello %s what is up %d", "some", 4);
        verify(m_LogService).log(LogService.LOG_INFO, "hello some what is up 4");
    }
@ Test public void testLogInfo ( ) { m_SUT . info ( "hello" ) ; verify ( m_LogService ) . log ( LogService . LOG_INFO , "hello" ) ; m_SUT . info ( "hello %s what is up %d" , "some" , 4 ) ; verify ( m_LogService ) . log ( LogService . LOG_INFO , "hello some what is up 4" ) ; }
Verify calling the info method will call on log service with the info log level.
Verify calling the info method will call on log service with the info log level .
// replay // verify // replay // verify