@@ -0,0 +1,1235 @@
+package com.thoughtworks.jbehave.core.responsibility;%0D%0A%0D%0Aimport java.lang.reflect.Method;%0D%0A%0D%0Aimport com.thoughtworks.jbehave.core.listeners.ListenerSupport;%0D%0A%0D%0A/**%0D%0A * @author %3Ca href=%22mailto:dguy@thoughtworks.com%22%3EDamian Guy%3C/a%3E%0D%0A *%0D%0A */%0D%0Apublic class NotifyingResponsibilityVerifierBehaviour %7B%0D%0A    %0D%0A    public static class StubListener extends ListenerSupport %7B%0D%0A        %0D%0A        private Result result;%0D%0A%0D%0A        public StubListener(Result result) %7B%0D%0A            this.result = result;%0D%0A        %7D%0D%0A        %0D%0A        public Result responsibilityVerificationEnding(Result result,%0D%0A                Object behaviourClassInstance) %7B%0D%0A            return this.result;%0D%0A           %0D%0A        %7D%0D%0A%7D%0D%0A    %0D%0A    public void shouldReturnResultFromListener() throws Exception %7B%0D%0A        // setup%0D%0A        NotifyingResponsibilityVerifier verifier = new NotifyingResponsibilityVerifier();%0D%0A        Result result = new Result(%22fake%22, %22fake%22, null);%0D%0A        Method method = getClass().getMethods()%5B0%5D;%0D%0A        %0D%0A        // execute%0D%0A        Result returned = verifier.verifyResponsibility(new StubListener(result), method, null);%0D%0A    %0D%0A        // verify%0D%0A        Verify.that(%22should return result from listener%22, result == returned);%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

add NotifyingResponsibilityVerifierBehaviour