public void url_is_in_expected_format() { _pusher.Get <object>("/channels"); _subClient.Received().Execute( Arg.Is <IRestRequest>( x => x.Resource.StartsWith("/apps/" + Config.AppId + "/channels") ) ); }