ing a message" do     before do       AMQP.stub!(:connect)       MQ.stub!(:new)       Nanite::MapperProxy.new('mapperproxy', {})       @instance = Nanite::MapperProxy.instance       @fanout = stub(:fanout, :publish => true)       @instance.amqp.stub!(:fanout).and_return(@fanout)     end          it "should raise an error if mapper proxy is not initialized" do       lambda {         @instance.stub!(:identity).and_return nil         @instance.push('/welcome/aboard', 'iZac')       }.should raise_error("Mapper proxy not initialized")     end          it "should create a 