Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/web/src/main/java/za/org/kuali/kfs/sec/businessobject/lookup/AccessSecurityAccountLookupableHelperServiceImpl.java b/web/src/main/java/za/org/kuali/kfs/sec/businessobject/lookup/AccessSecurityAccountLookupableHelperServiceImpl.java
- new file mode 100644
- index 0000000..a49fd5d
- --- /dev/null
- +++ b/web/src/main/java/za/org/kuali/kfs/sec/businessobject/lookup/AccessSecurityAccountLookupableHelperServiceImpl.java
- @@ -0,0 +1,18 @@
- +/**
- + *
- + */
- +package za.org.kuali.kfs.sec.businessobject.lookup;
- +
- +/**
- + * @author mugo
- + *
- + */
- +public class AccessSecurityAccountLookupableHelperServiceImpl extends
- +org.kuali.kfs.sec.businessobject.lookup.AccessSecurityAccountLookupableHelperServiceImpl {
- +
- + /**
- + *
- + */
- + private static final long serialVersionUID = -4767728909430071138L;
- +
- +}
- diff --git a/web/src/main/resources/za/org/kuali/kfs/sec/spring-sec.xml b/web/src/main/resources/za/org/kuali/kfs/sec/spring-sec.xml
- index a8c720a..b8b159e 100644
- --- a/web/src/main/resources/za/org/kuali/kfs/sec/spring-sec.xml
- +++ b/web/src/main/resources/za/org/kuali/kfs/sec/spring-sec.xml
- @@ -77,5 +77,8 @@
- <property name="title" value="Security Model Load Report" />
- <property name="aggregationModeOn" value="false"/>
- </bean>
- +
- + <bean id="securityAccountLookupableHelperService" parent="securityAccountLookupableHelperService-parentBean"
- + scope="prototype" class="za.org.kuali.kfs.sec.businessobject.lookup.AccessSecurityAccountLookupableHelperServiceImpl" />
- </beans>
- diff --git a/web/src/test/java/za/org/kuali/kfs/sec/businessobject/lookup/AccessSecurityAccountLookupableHelperServiceImplIntegrationTest.java b/web/src/test/java/za/org/kuali/kfs/sec/businessobject/lookup/AccessSecurityAccountLookupableHelperServiceImplIntegrationTest.java
- new file mode 100644
- index 0000000..ccc074b
- --- /dev/null
- +++ b/web/src/test/java/za/org/kuali/kfs/sec/businessobject/lookup/AccessSecurityAccountLookupableHelperServiceImplIntegrationTest.java
- @@ -0,0 +1,39 @@
- +/**
- + *
- + */
- +package za.org.kuali.kfs.sec.businessobject.lookup;
- +
- +import org.junit.experimental.categories.Category;
- +import org.kuali.kfs.sys.ConfigureContext;
- +import org.kuali.kfs.sys.context.KualiTestBase;
- +import org.kuali.kfs.sys.context.SpringContext;
- +
- +import za.org.kuali.kfs.UnitIntegrationTests;
- +
- +/**
- + * tests {@link org.kuali.kfs.sec.businessobject.lookup.AccessSecurityAccountLookupableHelperServiceImpl}
- + * @author mugo
- + *
- + */
- +@ConfigureContext
- +@Category(UnitIntegrationTests.class)
- +public class AccessSecurityAccountLookupableHelperServiceImplIntegrationTest extends KualiTestBase {
- +
- + private Object secSvc;
- + public void setUp() {
- + secSvc = SpringContext.getService("securityAccountLookupableHelperService");
- + }
- +
- + public void testSpringOverride_class_comparison() {
- + assertEquals("class differs", AccessSecurityAccountLookupableHelperServiceImpl.class, secSvc.getClass());
- + }
- +
- + public void testSpringOverride_instanceof() {
- + assertTrue("class differs", secSvc instanceof AccessSecurityAccountLookupableHelperServiceImpl);
- + }
- +
- + public void testSpringOverride_cast() {
- + AccessSecurityAccountLookupableHelperServiceImpl svc = (AccessSecurityAccountLookupableHelperServiceImpl)secSvc;
- + }
- +
- +}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement