Class SlackAppenderTest


  • public class SlackAppenderTest
    extends Object
    • Field Detail

      • mockitoRule

        public org.mockito.junit.MockitoRule mockitoRule
    • Constructor Detail

      • SlackAppenderTest

        public SlackAppenderTest()
    • Method Detail

      • setUp

        public void setUp()
      • testWithStacktrace

        public void testWithStacktrace()
                                throws com.slack.api.methods.SlackApiException,
                                       IOException
        Throws:
        com.slack.api.methods.SlackApiException
        IOException
      • testWarnLogsShouldNotBeAppended

        public void testWarnLogsShouldNotBeAppended()
      • testWhenSlackApiRaisesException

        public void testWhenSlackApiRaisesException()
                                             throws com.slack.api.methods.SlackApiException,
                                                    IOException
        Throws:
        com.slack.api.methods.SlackApiException
        IOException
      • testWhenSlackFailsToClose

        public void testWhenSlackFailsToClose()
                                       throws Exception
        Throws:
        Exception