public void Can_handle_new_post()
{
var post = new Post {Content = "this web site is cool: http://google.com"};
httpClient.Expect(x => x.DownloadString("http://google.com"))
.Return("<link rel=\"pingback\" href=\"http://localhost:2011/pingback.rem\"/>");
pingbackService.HandleNewPost(new PostAddedEventArgs(null,post));
httpClient.AssertWasCalled(x => x.DownloadString(Arg<string>.Is.Anything));
Assert.That(FakePingbackService.SourceUri,Is.Not.Null.Or.Not.Empty);
Assert.That(FakePingbackService.TargetUri, Is.Not.Null.Or.Not.Empty);
}