com.agical.rmock.extension.junit
Class RMockServiceFactoryTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.agical.rmock.extension.junit.AbstractStrategyTestCase
              extended by com.agical.rmock.extension.junit.BasicJUnitStrategyTestCase
                  extended by com.agical.rmock.extension.junit.AbstractMockStrategyTestCase
                      extended by com.agical.rmock.extension.junit.RMockTestCase
                          extended by com.agical.rmock.extension.junit.RMockServiceFactoryTestCase
All Implemented Interfaces:
junit.framework.Test

public abstract class RMockServiceFactoryTestCase
extends RMockTestCase


Field Summary
 
Fields inherited from class com.agical.rmock.extension.junit.RMockTestCase
all, doc, expect, matchAction, s
 
Fields inherited from class com.agical.rmock.extension.junit.AbstractStrategyTestCase
is
 
Constructor Summary
RMockServiceFactoryTestCase()
           
 
Method Summary
protected abstract  Class getExpectedServiceClass()
           
protected abstract  Class getExpectedServiceImplementationClass()
           
protected abstract  RMockServiceFactory getRMockServiceFactory()
           
protected  void setUp()
           
 void testCanCreateService()
           
 void testCreate()
           
 void testGetServiceType()
           
 
Methods inherited from class com.agical.rmock.extension.junit.RMockTestCase
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
 
Methods inherited from class com.agical.rmock.extension.junit.AbstractMockStrategyTestCase
createVerifyStep, exceptionVerifierDecorator, getProxyFactory, setProxyFactory, verify
 
Methods inherited from class com.agical.rmock.extension.junit.BasicJUnitStrategyTestCase
createSetupStep, createTearDownStep, createTestStep, tearDown
 
Methods inherited from class com.agical.rmock.extension.junit.AbstractStrategyTestCase
assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, getHub, getStrategyRunner, getVerifiable, runBare, setAsserter, setStrategyRunner, setTestCaseListener, setVerifiable
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RMockServiceFactoryTestCase

public RMockServiceFactoryTestCase()
Method Detail

getExpectedServiceImplementationClass

protected abstract Class getExpectedServiceImplementationClass()

getExpectedServiceClass

protected abstract Class getExpectedServiceClass()

getRMockServiceFactory

protected abstract RMockServiceFactory getRMockServiceFactory()

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class BasicJUnitStrategyTestCase
Throws:
Exception

testCreate

public void testCreate()
                throws Exception
Throws:
Exception

testCanCreateService

public void testCanCreateService()
                          throws Exception
Throws:
Exception

testGetServiceType

public void testGetServiceType()
                        throws Exception
Throws:
Exception


Copyright © 2005-2011 Agical AB. All Rights Reserved.