Example #1
0
        public async Task url_is_in_expected_format()
        {
            await _pusher.GetAsync <object>("/channels");

#pragma warning disable 4014
            _subPusherClient.Received().ExecuteGetAsync <object>(
#pragma warning restore 4014
                Arg.Is <IPusherRestRequest>(
                    x => x.ResourceUri.StartsWith("/apps/" + _config.AppId + "/channels")
                    )
                );
        }