Author: gpetracek
Date: Thu May 15 15:47:45 2014
New Revision: 1594954

URL: http://svn.apache.org/r1594954
Log:
updated content

Modified:
    deltaspike/site/trunk/content/test-control.mdtext

Modified: deltaspike/site/trunk/content/test-control.mdtext
URL: 
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/test-control.mdtext?rev=1594954&r1=1594953&r2=1594954&view=diff
==============================================================================
--- deltaspike/site/trunk/content/test-control.mdtext (original)
+++ deltaspike/site/trunk/content/test-control.mdtext Thu May 15 15:47:45 2014
@@ -260,6 +260,16 @@ Since CDI implementations like OpenWebBe
         }
     }
 
+    @Typed() //exclude it for the cdi type-check
+    public class MockedApplicationScopedBean extends ApplicationScopedBean
+    {
+        @Override
+        public int getCount()
+        {
+            return 14;
+        }
+    }
+
 However, `ApplicationMockManager` can be used for adding all mocks, if they 
should be active for the lifetime of the CDI-container.
 
 It's also possible to mock qualified beans. Just add the literal-instance(s) 
as additional parameter(s) - e.g.:


Reply via email to