Class ManageMilestoneGitHubActionTest
java.lang.Object
me.julb.applications.github.actions.ManageMilestoneGitHubActionTest
@ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class)
class ManageMilestoneGitHubActionTest
extends Object
Test class for
ManageMilestoneGitHubAction
class. - Author:
- Julb.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
setUp()
(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.
-
Constructor Details
-
ManageMilestoneGitHubActionTest
ManageMilestoneGitHubActionTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
whenGetInputTitle_thenReturnValue
Test method.- Throws:
Exception
-
whenGetInputTitleNotProvided_thenFail
@Test void whenGetInputTitleNotProvided_thenFail()Test method. -
whenGetInputStateProvided_thenReturnValue
Test method.- Throws:
Exception
-
whenGetInputStateNotProvided_thenReturnDefaultValue
Test method.- Throws:
Exception
-
whenGetInputDescriptionPresent_thenReturnValue
Test method.- Throws:
Exception
-
whenGetInputDescriptionEmpty_thenReturnEmpty
Test method.- Throws:
Exception
-
whenGetInputDueOnPresent_thenReturnValue
Test method.- Throws:
Exception
-
whenGetInputDueOnEmpty_thenReturnEmpty
Test method.- Throws:
Exception
-
whenGetInputDueOnInvalid_thenThrowIllegalArgumentException
Test method.- Throws:
Exception
-
whenExecuteOpenMilestoneExists_thenMilestoneOpened
Test method.- Throws:
Exception
-
whenExecuteOpenMilestoneNotExists_thenMilestoneOpened
Test method.- Throws:
Exception
-
whenExecuteCloseMilestoneExists_thenMilestoneClosed
Test method.- Throws:
Exception
-
whenExecuteCloseMilestoneNotExists_thenMilestoneClosed
Test method.- Throws:
Exception
-
whenExecuteDeleteMilestoneExists_thenMilestoneDeleted
Test method.- Throws:
Exception
-
whenExecuteDeleteMilestoneNotExists_thenMilestoneDeleted
Test method.- Throws:
Exception
-
whenConnectApi_thenVerifyOK
Test method.- Throws:
Exception
-
whenGetGHMilestoneExist_thenReturnRef
Test method.- Throws:
Exception
-
whenGetGHMilestoneDoesNotExist_thenReturnEmpty
Test method.- Throws:
Exception
-
whenGetGHMilestoneNull_thenThrowNullPointerException
Test method.- Throws:
Exception
-
whenCreateGHMilestoneOpenEmptyMilestone_thenOpenMilestone
Test method.- Throws:
Exception
-
whenCreateGHMilestoneOpenExistingOpenMilestone_thenOpenMilestone
Test method.- Throws:
Exception
-
whenCreateGHMilestoneCloseExistingOpenMilestone_thenCloseMilestone
Test method.- Throws:
Exception
-
whenCreateGHMilestoneOpenExistingClosedMilestone_thenOpenMilestone
Test method.- Throws:
Exception
-
whenCreateGHMilestoneCloseExistingClosedMilestone_thenCloseMilestone
Test method.- Throws:
Exception
-
whenCreateGHMilestoneNull_thenThrowNullPointerException
Test method.- Throws:
Exception
-
whenDeleteGHMilestonePresent_thenDeleteGhMilestone
Test method.- Throws:
Exception
-
whenDeleteGHMilestoneEmpty_thenLogMessage
@Test void whenDeleteGHMilestoneEmpty_thenLogMessage()Test method. -
whenDeleteGHMilestoneNull_thenThrowNullPointerException
Test method.- Throws:
Exception
-