org.simject.test
Class SimFactoryTest

java.lang.Object
  extended by org.simject.test.SimFactoryTest

public class SimFactoryTest
extends java.lang.Object

JUnit tests

Author:
Simon Martinelli

Constructor Summary
SimFactoryTest()
           
 
Method Summary
 void testDependencyInjection()
          General DI test
 void testEntityManager()
          Test instantiation of EntityManager
 void testHttpClientProxy()
          Test instantiation of HttpClientProxy
 void testSimFactory()
          Positive test using a class
 void testSimFactoryClassNotFound()
          Negativ test with wrong class
 void testSimFactoryConfigFileNotFound()
          Negativ test with wrong config file name
 void testSimFactoryWithInterface()
          Positiv test using an interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimFactoryTest

public SimFactoryTest()
Method Detail

testSimFactory

public void testSimFactory()
Positive test using a class

Throws:
java.lang.Exception

testSimFactoryWithInterface

public void testSimFactoryWithInterface()
Positiv test using an interface

Throws:
java.lang.Exception

testSimFactoryClassNotFound

public void testSimFactoryClassNotFound()
Negativ test with wrong class

Throws:
java.lang.Exception

testSimFactoryConfigFileNotFound

public void testSimFactoryConfigFileNotFound()
Negativ test with wrong config file name

Throws:
java.lang.Exception

testDependencyInjection

public void testDependencyInjection()
General DI test

Throws:
java.lang.Exception

testHttpClientProxy

public void testHttpClientProxy()
Test instantiation of HttpClientProxy


testEntityManager

public void testEntityManager()
Test instantiation of EntityManager



Copyright © 2008. All Rights Reserved.