Метод |
Описание |
|
setUp ( ) |
|
|
testDefaultGet ( ) |
It should return a default service if no argument is given to get(). |
|
testDefaultGetNoDefault ( ) |
It should throw an exception if no argument given to get() and no default is defined. |
|
testExceptionServivceNotExist ( ) |
It should throw an exception if a service does not exist. |
|
testRegisterAlreadyRegistered ( ) |
It should throw an exception if setting an already set service. |
|
testRegisterRetrieveService ( ) |
It should register a service
It should retrieve a service
It should retrieve a service from the container only once. |
|
testSetAndRetrieve ( ) |
It should set and retrieve services. |
|