Ejemplo n.º 1
0
        public void should_send_request_with_custom_content()
        {
            var actor   = ActorFactory.CreateSomeActorWithApiCallAbility(Sender);
            var content = ContentFactory.AccessTokenRequest();

            actor.AttemptsTo(GetHttpInteractionWithCustomContent(content));

            Check.That(Sender.GetLastSentMessage().Content.ReadAsStringAsync().Result).IsEqualTo(content);
        }