public class MethodTransitionTest extends com.agical.rmock.extension.junit.RMockTestCase
MethodTransition
.Modifier and Type | Class and Description |
---|---|
static class |
MethodTransitionTest.A |
static class |
MethodTransitionTest.B |
static class |
MethodTransitionTest.C |
static interface |
MethodTransitionTest.Target |
static interface |
MethodTransitionTest.TestStateContext |
Constructor and Description |
---|
MethodTransitionTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
void |
testExecuteAllArgsMethodOnArgsEvent() |
void |
testExecuteExactArgsMethodOnArgsEvent() |
void |
testExecuteExactArgsMethodOnNoArgsEvent() |
void |
testExecuteNoArgsMethodOnArgsEvent() |
void |
testExecuteNoArgsMethodOnNoArgsEvent() |
void |
testExecuteSubsetAllArgsMethod1OnArgsEvent() |
void |
testExecuteSubsetAllArgsMethod2OnArgsEvent() |
void |
testExecuteSubsetExactArgsMethodOnArgsEvent() |
void |
testExecuteSubsetExactArgsMethodOnNoArgsEvent() |
void |
testExecuteWrongEventId() |
appendToSection, beginSection, createStrategy, endSection, expectThatExceptionThrown, fakeAndIntercept, fakeAndIntercept, forEach, getExceptionVerifier, intercept, intercept, intercept, intercept, intercept, intercept, mock, mock, mock, mock, modify, monitor, monitor, monitor, monitor, monitor, replaceSection, setExceptionVerifier, setMultiplicityModifier, setSectionManager, startVerification, stub, stub, stub
createVerifyStep, exceptionVerifierDecorator, getProxyFactory, setProxyFactory, verify
createSetupStep, createTearDownStep, createTestStep, tearDown
assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, getHub, getStrategyRunner, getVerifiable, runBare, setAsserter, setStrategyRunner, setTestCaseListener, setVerifiable
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, toString
public MethodTransitionTest()
protected void setUp() throws Exception
setUp
in class com.agical.rmock.extension.junit.BasicJUnitStrategyTestCase
Exception
public void testExecuteWrongEventId() throws Exception
Exception
public void testExecuteNoArgsMethodOnNoArgsEvent() throws Exception
Exception
public void testExecuteNoArgsMethodOnArgsEvent() throws Exception
Exception
public void testExecuteExactArgsMethodOnNoArgsEvent() throws Exception
Exception
public void testExecuteExactArgsMethodOnArgsEvent() throws Exception
Exception
public void testExecuteSubsetExactArgsMethodOnNoArgsEvent() throws Exception
Exception
public void testExecuteSubsetExactArgsMethodOnArgsEvent() throws Exception
Exception
public void testExecuteAllArgsMethodOnArgsEvent() throws Exception
Exception
public void testExecuteSubsetAllArgsMethod1OnArgsEvent() throws Exception
Exception
public void testExecuteSubsetAllArgsMethod2OnArgsEvent() throws Exception
Exception
Copyright © 2004–2016 Apache MINA Project. All rights reserved.