com.silverpeas.comment.service
Class DependenciesInjectionTest

java.lang.Object
  extended by com.silverpeas.comment.service.AbstractCommentTest
      extended by com.silverpeas.comment.service.DependenciesInjectionTest

public class DependenciesInjectionTest
extends AbstractCommentTest

Unit tests on the dependencies injection of the service on the comments.


Constructor Summary
DependenciesInjectionTest()
           
 
Method Summary
 void emtpyTest()
           
 void theCommentServiceShouldBeGetByTheFactory()
          The service should have its dependency correctly set by the IoC container when getting by its factory.
 void theCommentServiceShouldBeInjected()
          The service on the comments and its dependencies should be injected by the IoC container.
 
Methods inherited from class com.silverpeas.comment.service.AbstractCommentTest
boostrapMessagingSystem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependenciesInjectionTest

public DependenciesInjectionTest()
Method Detail

emtpyTest

public void emtpyTest()

theCommentServiceShouldBeInjected

public void theCommentServiceShouldBeInjected()
The service on the comments and its dependencies should be injected by the IoC container.


theCommentServiceShouldBeGetByTheFactory

public void theCommentServiceShouldBeGetByTheFactory()
The service should have its dependency correctly set by the IoC container when getting by its factory.



Copyright © 2016 Silverpeas. All Rights Reserved.