public void verify_can_handle_AtomEntry_response_for_create_entry()
        {
            var mock = new Mock<ISDataResponse>(MockBehavior.Strict);
            mock.SetupGet(r => r.Content).Returns(new AtomEntry());
            mock.SetupGet(r => r.ETag).Returns(String.Empty);

            var service = new MockService(mock);
            var result = service.CreateEntry(new SDataServiceOperationRequest(service) { OperationName = "computePrice" }, new AtomEntry());
            Expect(result, Is.InstanceOf<AtomEntry>());
        }
        public void verify_can_handle_AtomEntry_response_for_create_entry()
        {
            var mock = new Mock <ISDataResponse>(MockBehavior.Strict);

            mock.SetupGet(r => r.Content).Returns(new AtomEntry());
            mock.SetupGet(r => r.ETag).Returns(String.Empty);

            var service = new MockService(mock);
            var result  = service.CreateEntry(new SDataServiceOperationRequest(service)
            {
                OperationName = "computePrice"
            }, new AtomEntry());

            Expect(result, Is.InstanceOf <AtomEntry>());
        }