public void Calling_not_implemented_method_returns_405()
{
var client = new JsonServiceClient(ListeningOn);
try
{
var response = client.Put<MoviesZipResponse>("all-movies.zip", new MoviesZip());
Assert.Fail("Should throw 405 excetpion");
}
catch (WebServiceException ex)
{
Assert.That(ex.StatusCode, Is.EqualTo(405));
}
}