[java] Running org.onehippo.cms7.hst.components.DetailTest [java] 07.08.2013 16:40:02 WARN [org.onehippo.cms7.hst.components.Detail.doBeforeRender():21] Did not find a content bean for relative content path 'common/detail' for pathInfo 'null' [java] 07.08.2013 16:40:02 WARN [org.onehippo.cms7.hst.components.Detail.doBeforeRender():21] Did not find a content bean for relative content path 'common/detail' for pathInfo 'null' [java] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.307 sec <<< FAILURE! [java] doBeforeRender_FoundBean(org.onehippo.cms7.hst.components.DetailTest) Time elapsed: 0.271 sec <<< FAILURE! [java] java.lang.AssertionError: [java] Unexpected method call HstResponse.setStatus(404): [java] at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:44) [java] at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:85) [java] at $Proxy7.setStatus(Unknown Source) [java] at org.onehippo.cms7.hst.components.Detail.doBeforeRender(Detail.java:24) [java] at org.onehippo.cms7.hst.components.DetailTest.doBeforeRender_FoundBean(DetailTest.java:68) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) [java] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [java] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) [java] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) [java] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) [java] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) [java] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) [java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) [java] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) [java] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) [java] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) [java] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) [java] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) [java] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) [java] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) [java] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) [java] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) [java] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) [java] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) [java] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) [java] doBeforeRender_MissingBean(org.onehippo.cms7.hst.components.DetailTest) Time elapsed: 0.002 sec <<< FAILURE! [java] java.lang.AssertionError: [java] Expectation failure on verify: [java] ObjectConverter.getObject(EasyMock for interface javax.jcr.Session, "/hst:hst/hst:sites/mysite-live/hst:content/common/detail"): expected: 1, actual: 0 [java] at org.easymock.internal.MocksControl.verify(MocksControl.java:183) [java] at org.easymock.EasyMock.verify(EasyMock.java:2142) [java] at org.onehippo.cms7.hst.components.DetailTest.doBeforeRender_MissingBean(DetailTest.java:109) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) [java] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [java] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) [java] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) [java] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) [java] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) [java] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) [java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) [java] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) [java] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) [java] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) [java] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) [java] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) [java] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) [java] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) [java] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) [java] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) [java] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) [java] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) [java] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) [java] Results : [java] Failed tests: doBeforeRender_FoundBean(org.onehippo.cms7.hst.components.DetailTest): (..) [java] doBeforeRender_MissingBean(org.onehippo.cms7.hst.components.DetailTest): (..)