Package ubic.gemma.web.logging
Class SlackAppenderTest
- java.lang.Object
-
- ubic.gemma.web.logging.SlackAppenderTest
-
public class SlackAppenderTest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description org.mockito.junit.MockitoRule
mockitoRule
-
Constructor Summary
Constructors Constructor Description SlackAppenderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
test()
void
testWarnLogsShouldNotBeAppended()
void
testWhenSlackApiRaisesException()
void
testWhenSlackFailsToClose()
void
testWithStacktrace()
-
-
-
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
-
-