code: public StubWithAction then(Applicable... actions) {
          Stub s = this.stub.withAction(composite(actions));
          stubServer.addStub(s);
          return new StubWithAction(s);
      }
docs: Attach actions to the stub