//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldHaveDetailledStringRepresentationWithNullValues() throws Exception //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: public virtual void shouldHaveDetailledStringRepresentationWithNullValues() { IDictionary <int, string> processVariablesExpected = Collections.singletonMap(34, "testValue"); System.Reflection.MethodInfo handlerMethod = null; object handler = null; string stateName = "running"; string beanName = "testBean"; int processVariablesIndex = 4; int processIdIndex = 2; string processName = "testProcess"; ActivitiStateHandlerRegistration registration = new ActivitiStateHandlerRegistration(processVariablesExpected, handlerMethod, handler, stateName, beanName, processVariablesIndex, processIdIndex, processName); assertEquals("org.camunda.bpm.engine.spring.components.registry.ActivitiStateHandlerRegistration@" + registration.GetHashCode().ToString("x") + "[" + "processVariablesExpected={34=testValue}, " + "handlerMethod=null, " + "handler=null, " + "stateName=running, " + "beanName=testBean, " + "processVariablesIndex=4, " + "processIdIndex=2, " + "processName=testProcess]", registration.ToString()); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldHaveDetailledStringRepresentation() throws Exception //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: public virtual void shouldHaveDetailledStringRepresentation() { IDictionary <int, string> processVariablesExpected = Collections.singletonMap(34, "testValue"); System.Reflection.MethodInfo handlerMethod = this.GetType().GetMethod("shouldHaveDetailledStringRepresentation"); object handler = new ObjectAnonymousInnerClass(this); string stateName = "running"; string beanName = "testBean"; int processVariablesIndex = 4; int processIdIndex = 2; string processName = "testProcess"; ActivitiStateHandlerRegistration registration = new ActivitiStateHandlerRegistration(processVariablesExpected, handlerMethod, handler, stateName, beanName, processVariablesIndex, processIdIndex, processName); assertEquals("org.camunda.bpm.engine.spring.components.registry.ActivitiStateHandlerRegistration@" + registration.GetHashCode().ToString("x") + "[" + "processVariablesExpected={34=testValue}, " + "handlerMethod=public void org.camunda.bpm.engine.spring.test.components.registry.ActivitiStateHandlerRegistrationTest.shouldHaveDetailledStringRepresentation() throws java.lang.Exception, " + "handler=org.camunda.bpm.engine.spring.test.components.registry.ActivitiStateHandlerRegistrationTest$1@" + handler.GetHashCode().ToString("x") + ", " + "stateName=running, " + "beanName=testBean, " + "processVariablesIndex=4, " + "processIdIndex=2, " + "processName=testProcess]", registration.ToString()); }