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  java.lang.Class getExpectedServiceClass()
           
protected abstract  java.lang.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, format
 
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 java.lang.Class getExpectedServiceImplementationClass()

getExpectedServiceClass

protected abstract java.lang.Class getExpectedServiceClass()

getRMockServiceFactory

protected abstract RMockServiceFactory getRMockServiceFactory()

setUp

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

testCreate

public void testCreate()
                throws java.lang.Exception
Throws:
java.lang.Exception

testCanCreateService

public void testCanCreateService()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testGetServiceType

public void testGetServiceType()
                        throws java.lang.Exception
Throws:
java.lang.Exception


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