'If you try to send a message to an invite-only stream to which
you aren\'t subscribed, you\'ll get a 400.'

def test_must_be_subbed_to_send(self):

    self.login(self.example_email('hamlet'))
    self.assert_json_success(self.common_subscribe_to_streams(self.example_email('hamlet'), ['Saxony'], invite_only=True))
    email = self.example_email('cordelia')
    with self.assertRaises(JsonableError):
        self.send_message(email, 'Saxony', Recipient.STREAM)
