|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| SectionManagerServiceFactory.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 | package com.agical.rmock.core.expectation.section.service; | |
| 2 | ||
| 3 | import com.agical.rmock.core.SectionManager; | |
| 4 | import com.agical.rmock.core.configuration.RMockServiceFactory; | |
| 5 | ||
| 6 | public class SectionManagerServiceFactory implements RMockServiceFactory { | |
| 7 | ||
| 8 | 7 | public Object createService() { |
| 9 | 7 | return new SectionManagerService(); |
| 10 | } | |
| 11 | ||
| 12 | 7 | public boolean canCreateService() { |
| 13 | 7 | return true; |
| 14 | } | |
| 15 | ||
| 16 | 8 | public Class getServiceType() { |
| 17 | 8 | return SectionManager.class; |
| 18 | } | |
| 19 | ||
| 20 | } |
|
||||||||||