<test-history test='PubSub 1 (c2s)'>
<OUTPUT test='PubSub 1 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='PubSub 1 (c2s)'>
<stream:stream xml:lang="en" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" from="test-d" id="617a8c23-41b9-4f83-8ba1-09931a509eb1" version="1.0"/>
</INPUT>
<INPUT test='PubSub 1 (c2s)'>
<stream:features><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><register xmlns="http://jabber.org/features/iq-register"/><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
</INPUT>
<OUTPUT test='PubSub 1 (c2s)'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsbC14bXBwLXRlc3QAYWxsLXhtcHAtdGVzdC1wYXNzd29yZA==</auth>
</OUTPUT>
<INPUT test='PubSub 1 (c2s)'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
</INPUT>
<OUTPUT test='PubSub 1 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='PubSub 1 (c2s)'>
<stream:stream xml:lang="en" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" from="test-d" id="617a8c23-41b9-4f83-8ba1-09931a509eb1" version="1.0"/>
</INPUT>
<INPUT test='PubSub 1 (c2s)'>
<stream:features><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/><register xmlns="http://jabber.org/features/iq-register"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='PubSub 1 (c2s)'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='PubSub 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>all-xmpp-test@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='PubSub 1 (c2s)'>
<iq to="pubsub.test-d" from="all-xmpp-test@test-d/def-user-resource" id="1" type="get">
<query xmlns="jabber:iq:version"/>
</iq>
</OUTPUT>
<INPUT test='PubSub 1 (c2s)'>
<iq to="all-xmpp-test@test-d/def-user-resource" from="pubsub.test-d" id="1" type="result"><query xmlns="jabber:iq:version"><name>Tigase PubSub</name><version>2.2.0-SNAPSHOT build f53f0d24 (Oct 25, 2012 4:53:09 AM)</version><os>Linux-i386-2.6.32-10-pve, Java HotSpot(TM) Server VM-1.6.0_26 Sun Microsystems Inc.</os></query></iq>
</INPUT>

</test-history>